fard cheat hack xd
This commit is contained in:
parent
bd8cac06cf
commit
8bfa159e3d
27445
javascript/classes.js
27445
javascript/classes.js
File diff suppressed because it is too large
Load Diff
|
@ -855,20 +855,25 @@ public class TMIUtils
|
||||||
|
|
||||||
if (TMIConfig.isMultiplayer())
|
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();
|
NumberFormat var5 = NumberFormat.getIntegerInstance();
|
||||||
var5.setGroupingUsed(false);
|
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(1, var5);
|
||||||
var6.setFormatByArgumentIndex(2, var5);
|
var6.setFormatByArgumentIndex(2, var5);
|
||||||
var6.setFormatByArgumentIndex(3, 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();
|
StringBuilder var8 = new StringBuilder();
|
||||||
var8.append(var6.format(var7));
|
var8.append(var6.format(var7));
|
||||||
Iterator var9 = getEnchantments(var3).iterator();
|
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(":");
|
||||||
|
@ -877,6 +882,7 @@ public class TMIUtils
|
||||||
|
|
||||||
var4.thePlayer.sendChatMessage(var8.toString());
|
var4.thePlayer.sendChatMessage(var8.toString());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getPlayer().inventory.addItemStackToInventory(var3);
|
getPlayer().inventory.addItemStackToInventory(var3);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user