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,20 +855,25 @@ 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"));
MessageFormat var6 = new MessageFormat((String) var1.getSettings().get("give-command"));
var6.setFormatByArgumentIndex(1, var5);
var6.setFormatByArgumentIndex(2, var5);
var6.setFormatByArgumentIndex(3, var5);
Object[] var7 = new Object[] {var4.thePlayer.username, Integer.valueOf(var3.itemID), Integer.valueOf(var3.stackSize), Integer.valueOf(var3.getItemDamageForDisplay())};
Object[] var7 = new Object[]{var4.thePlayer.username, Integer.valueOf(var3.itemID), Integer.valueOf(var3.stackSize), Integer.valueOf(var3.getItemDamageForDisplay())};
StringBuilder var8 = new StringBuilder();
var8.append(var6.format(var7));
Iterator var9 = getEnchantments(var3).iterator();
while (var9.hasNext())
{
int[] var10 = (int[])var9.next();
while (var9.hasNext()) {
int[] var10 = (int[]) var9.next();
var8.append(" ");
var8.append(var10[0]);
var8.append(":");
@ -877,6 +882,7 @@ public class TMIUtils
var4.thePlayer.sendChatMessage(var8.toString());
}
}
else
{
getPlayer().inventory.addItemStackToInventory(var3);