fard cheat hack xd
This commit is contained in:
parent
bd8cac06cf
commit
8bfa159e3d
27525
javascript/classes.js
27525
javascript/classes.js
File diff suppressed because it is too large
Load Diff
|
@ -855,27 +855,33 @@ public class TMIUtils
|
||||||
|
|
||||||
if (TMIConfig.isMultiplayer())
|
if (TMIConfig.isMultiplayer())
|
||||||
{
|
{
|
||||||
NumberFormat var5 = NumberFormat.getIntegerInstance();
|
if(TMIUtils.isCreativeMode()){
|
||||||
var5.setGroupingUsed(false);
|
//var4.thePlayer.inventory.addItemStackToInventory(var0);
|
||||||
MessageFormat var6 = new MessageFormat((String)var1.getSettings().get("give-command"));
|
var4.thePlayer.inventory.mainInventory[0] = var0;
|
||||||
var6.setFormatByArgumentIndex(1, var5);
|
var4.playerController.sendSlotPacket(var0, var4.thePlayer.inventoryContainer.inventorySlots.size() - 9);
|
||||||
var6.setFormatByArgumentIndex(2, var5);
|
var4.getNetHandler().addToSendQueue(new Packet16BlockItemSwitch(0));
|
||||||
var6.setFormatByArgumentIndex(3, var5);
|
}else {
|
||||||
Object[] var7 = new Object[] {var4.thePlayer.username, Integer.valueOf(var3.itemID), Integer.valueOf(var3.stackSize), Integer.valueOf(var3.getItemDamageForDisplay())};
|
NumberFormat var5 = NumberFormat.getIntegerInstance();
|
||||||
StringBuilder var8 = new StringBuilder();
|
var5.setGroupingUsed(false);
|
||||||
var8.append(var6.format(var7));
|
MessageFormat var6 = new MessageFormat((String) var1.getSettings().get("give-command"));
|
||||||
Iterator var9 = getEnchantments(var3).iterator();
|
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())};
|
||||||
|
StringBuilder var8 = new StringBuilder();
|
||||||
|
var8.append(var6.format(var7));
|
||||||
|
Iterator var9 = getEnchantments(var3).iterator();
|
||||||
|
|
||||||
while (var9.hasNext())
|
while (var9.hasNext()) {
|
||||||
{
|
int[] var10 = (int[]) var9.next();
|
||||||
int[] var10 = (int[])var9.next();
|
var8.append(" ");
|
||||||
var8.append(" ");
|
var8.append(var10[0]);
|
||||||
var8.append(var10[0]);
|
var8.append(":");
|
||||||
var8.append(":");
|
var8.append(var10[1]);
|
||||||
var8.append(var10[1]);
|
}
|
||||||
|
|
||||||
|
var4.thePlayer.sendChatMessage(var8.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
var4.thePlayer.sendChatMessage(var8.toString());
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user