mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-21 16:09:24 +00:00
Fixed air drops being stored
This commit is contained in:
@@ -143,6 +143,9 @@ public class IllusionerOptions extends PluginDependent {
|
||||
drops = new HashSet<>();
|
||||
IllusionerConfigs.DROPS.getConfig().getKeys(false).forEach(key -> {
|
||||
ItemStack itemStack = IllusionerConfigs.DROPS.getConfig().getItemStack(key);
|
||||
if (itemStack == null || itemStack.getType() == Material.AIR) {
|
||||
return;
|
||||
}
|
||||
drops.add(itemStack);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user