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:
@@ -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 }
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user