Fix filter not updating after nbt deserialize
This commit is contained in:
parent
50cac6d1b5
commit
0e140ad4f4
@ -265,6 +265,10 @@ class ItemFilter(
|
||||
for ((i, value) in it.withIndex()) {
|
||||
if (value is CompoundTag) {
|
||||
filter[i] = ItemStack.of(value)
|
||||
|
||||
if (!filter[i].isEmpty) {
|
||||
linkedFilter.add(filter[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user