Resolved experiance dupe with spawners.

This commit is contained in:
Brianna O'Keefe 2019-02-17 16:55:42 -05:00
parent c92c4ccf68
commit 5bd5ae2dd5

View File

@ -113,6 +113,7 @@ public class BlockListeners implements Listener {
if (block.getType() != Material.MOB_SPAWNER) return;
if (!instance.spawnersEnabled()) return;
event.setExpToDrop(0);
CreatureSpawner cs = (CreatureSpawner) block.getState();