9
0
mirror of https://github.com/Auxilor/EcoMobs.git synced 2025-12-22 16:39:25 +00:00

Removed empty drops

This commit is contained in:
Auxilor
2022-02-08 20:21:32 +00:00
parent 4b8e1c0579
commit f4bd64c192

View File

@@ -242,6 +242,7 @@ class EcoBoss(
config.getDouble("chance"), config.getDouble("chance"),
config.getStrings("items") config.getStrings("items")
.map { Items.lookup(it) } .map { Items.lookup(it) }
.filter { it !is EmptyTestableItem }
.map { it.item } .map { it.item }
) )
) )