fard cheat hack xd

This commit is contained in:
ayunami2000 2022-01-17 17:24:28 -05:00
parent bd8cac06cf
commit 8bfa159e3d
2 changed files with 13802 additions and 13767 deletions

File diff suppressed because it is too large Load Diff

View File

@ -855,6 +855,12 @@ public class TMIUtils
if (TMIConfig.isMultiplayer())
{
if(TMIUtils.isCreativeMode()){
//var4.thePlayer.inventory.addItemStackToInventory(var0);
var4.thePlayer.inventory.mainInventory[0] = var0;
var4.playerController.sendSlotPacket(var0, var4.thePlayer.inventoryContainer.inventorySlots.size() - 9);
var4.getNetHandler().addToSendQueue(new Packet16BlockItemSwitch(0));
}else {
NumberFormat var5 = NumberFormat.getIntegerInstance();
var5.setGroupingUsed(false);
MessageFormat var6 = new MessageFormat((String) var1.getSettings().get("give-command"));
@ -866,8 +872,7 @@ public class TMIUtils
var8.append(var6.format(var7));
Iterator var9 = getEnchantments(var3).iterator();
while (var9.hasNext())
{
while (var9.hasNext()) {
int[] var10 = (int[]) var9.next();
var8.append(" ");
var8.append(var10[0]);
@ -877,6 +882,7 @@ public class TMIUtils
var4.thePlayer.sendChatMessage(var8.toString());
}
}
else
{
getPlayer().inventory.addItemStackToInventory(var3);