Fix bad stack overflow error

This commit is contained in:
Brady
2018-10-30 13:57:50 -05:00
parent c3f6ee87b3
commit 8a8afddce3
@@ -38,7 +38,6 @@ import net.minecraft.world.IInteractionObject;
import net.minecraft.world.World;
// Some Notes:
// TODO: Make custom movement input
// startRiding references the sound manager
// onUpdateWalkingPlayer references the gameSettings autoJump flag
// notifyDataManagerChange references the sound manager
@@ -67,7 +66,9 @@ public class EntityBot extends EntityPlayerSP {
@Override
public void closeScreenAndDropStack() {
this.inventory.setItemStack(ItemStack.EMPTY);
super.closeScreen();
// EntityPlayer#closeScreen
this.openContainer = this.inventoryContainer;
}
@Override