mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-02 21:41:21 +01: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 New Issue
Block a user