This commit is contained in:
ayunami2000 2022-01-17 23:33:27 -05:00
parent 8bfa159e3d
commit 7597c667d3

View File

@ -856,7 +856,6 @@ public class TMIUtils
if (TMIConfig.isMultiplayer()) if (TMIConfig.isMultiplayer())
{ {
if(TMIUtils.isCreativeMode()){ if(TMIUtils.isCreativeMode()){
//var4.thePlayer.inventory.addItemStackToInventory(var0);
var4.thePlayer.inventory.mainInventory[0] = var0; var4.thePlayer.inventory.mainInventory[0] = var0;
var4.playerController.sendSlotPacket(var0, var4.thePlayer.inventoryContainer.inventorySlots.size() - 9); var4.playerController.sendSlotPacket(var0, var4.thePlayer.inventoryContainer.inventorySlots.size() - 9);
var4.getNetHandler().addToSendQueue(new Packet16BlockItemSwitch(0)); var4.getNetHandler().addToSendQueue(new Packet16BlockItemSwitch(0));