Fixed not removing the correct amount of egg on spawner convert.

This commit is contained in:
Brianna 2019-09-24 12:13:13 -04:00
parent c23fcba392
commit a8c479b423
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class SpawnerListeners implements Listener {
plugin.updateHologram(spawner);
if (player.getGameMode() != GameMode.CREATIVE) {
Methods.takeItem(player, stackSize - 1);
Methods.takeItem(player, stackSize);
}
}
}