temp remove ids, broken
This commit is contained in:
parent
bc74b3a29d
commit
1713ca7f96
114 changed files with 589 additions and 1731 deletions
|
@ -1497,8 +1497,6 @@ public class Client implements IThreadListener {
|
|||
return;
|
||||
}
|
||||
|
||||
int meta = 0;
|
||||
boolean flag1 = false;
|
||||
Item item = null;
|
||||
|
||||
if (this.pointed.type == HitPosition.ObjectType.BLOCK)
|
||||
|
@ -1519,8 +1517,7 @@ public class Client implements IThreadListener {
|
|||
}
|
||||
|
||||
Block block1 = item instanceof ItemBlock && !block.isPickStrict() ? item.getBlock() : block;
|
||||
meta = block1.getDamageValue(this.world, blockpos);
|
||||
flag1 = item.getHasSubtypes();
|
||||
// meta = block1.getDamageValue(this.world, blockpos); TODO: data
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1535,9 +1532,9 @@ public class Client implements IThreadListener {
|
|||
|
||||
InventoryPlayer inventoryplayer = this.player.inventory;
|
||||
|
||||
inventoryplayer.setCurrentItem(item, meta, flag1);
|
||||
inventoryplayer.setCurrentItem(item);
|
||||
if(this.itemCheat) {
|
||||
this.player.client.addToSendQueue(new CPacketCheat(new ItemStack(item, 1, meta), inventoryplayer.currentItem, this.ctrl()));
|
||||
this.player.client.addToSendQueue(new CPacketCheat(new ItemStack(item), inventoryplayer.currentItem, this.ctrl()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1957,7 +1954,7 @@ public class Client implements IThreadListener {
|
|||
(((EntityLiving)entity).deathTime != 0 ? "Tod: " + ((EntityLiving)entity).deathTime + "t, " : "") + "Rüstung: " + ((EntityLiving)entity).getTotalArmorValue() + ", Pfeile: " + ((EntityLiving)entity).getArrowCountInEntity()
|
||||
: "Rüstung: n/a, Pfeile: n/a") + "\n" +
|
||||
(held != null ?
|
||||
"Gegens.: " + ItemRegistry.getNameFromItem(held.getItem()) + " x" + held.size + " (" + held.getMetadata() + ")" : "Gegens.: n/a") + "\n" +
|
||||
"Gegens.: " + ItemRegistry.getNameFromItem(held.getItem()) + " x" + held.size : "Gegens.: n/a") + "\n" +
|
||||
"Eigens.: " + (entity.dead ? "D" : "") + (entity.noClip ? "N" : "") + (entity.onGround ? "G" : "")
|
||||
+ (entity.canBeCollidedWith() ? "C" : "") + (entity.canBePushed() ? "P" : "")
|
||||
+ (entity.isBurning() ? "B" : "") + (entity.isPlayer() ? "S" : "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue