Fix a bug with mob capture ball where it would consume more than one. This patch was originally meant for versions below 1.20

This commit is contained in:
Zontreck 2024-02-21 17:45:09 -07:00
parent 39974cb4c1
commit 2625c7cbab

View file

@ -37,7 +37,7 @@ public class MobCaptureBall extends Item
ItemStack single = stack.copy();
single.setCount(1);
stack.shrink(1);
//stack.shrink(1);
ThrownMobCaptureBall TPB = new ThrownMobCaptureBall(pLevel, pPlayer, single);