further cheat improvements, change some tabs
This commit is contained in:
parent
7e9673dc25
commit
0c7459d371
10 changed files with 18 additions and 12 deletions
|
@ -2888,9 +2888,10 @@ public class Player extends User implements ICrafting, Executor, IPlayer
|
|||
if(amount <= 0)
|
||||
return;
|
||||
}
|
||||
else if(packet.getSlot() <= -2 - 9) {
|
||||
this.entity.dropItem(stack, false, true);
|
||||
}
|
||||
else {
|
||||
if(packet.getSlot() <= -2 - 9)
|
||||
return;
|
||||
Slot slot = packet.getSlot() < 0 ? this.entity.inventoryContainer.getSlot(36 + -2 - packet.getSlot()) : this.entity.openContainer.getSlot(packet.getSlot());
|
||||
if(slot == null || !slot.canCheatItem())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue