mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-09-29 15:07:25 +02:00
Fixed not removing the correct amount of egg on spawner convert.
This commit is contained in:
parent
c23fcba392
commit
a8c479b423
@ -118,7 +118,7 @@ public class SpawnerListeners implements Listener {
|
|||||||
|
|
||||||
plugin.updateHologram(spawner);
|
plugin.updateHologram(spawner);
|
||||||
if (player.getGameMode() != GameMode.CREATIVE) {
|
if (player.getGameMode() != GameMode.CREATIVE) {
|
||||||
Methods.takeItem(player, stackSize - 1);
|
Methods.takeItem(player, stackSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user