mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-06-28 08:50:57 +00:00
Implement ItemDbProviders, pt 2
This commit is contained in:
parent
c5376d3088
commit
4be28ba193
|
@ -159,7 +159,7 @@ public class LegacyItemDbProvider extends ItemDbProvider {
|
|||
lines.stream()
|
||||
.filter(line -> line.length() > 0 && !(line.charAt(0) == '#'))
|
||||
.map(this::parseLine)
|
||||
.filter(itemData -> itemData != null)
|
||||
.filter(Objects::nonNull)
|
||||
.forEach(this::addItem);
|
||||
|
||||
for (List<String> nameList : names.values()) {
|
||||
|
|
Loading…
Reference in a new issue