further cheat improvements, change some tabs
This commit is contained in:
parent
7e9673dc25
commit
0c7459d371
10 changed files with 18 additions and 12 deletions
|
@ -710,7 +710,7 @@ public abstract class GuiContainer extends Gui
|
|||
}
|
||||
|
||||
public void dropItem() {
|
||||
if (this.gm != null && this.gm.player != null && this.theSlot != null && this.theSlot.getHasStack())
|
||||
if (!this.clickSide(this.gm.mouse_x, this.gm.mouse_y, -100, this.gm.shift(), this.gm.ctrl()) && this.gm != null && this.gm.player != null && this.theSlot != null && this.theSlot.getHasStack())
|
||||
{
|
||||
this.handleMouseClick(this.theSlot, this.theSlot.slotNumber, this.gm.ctrl() ? 1 : 0, 4);
|
||||
}
|
||||
|
@ -872,7 +872,7 @@ public abstract class GuiContainer extends Gui
|
|||
int idx = sx + (sy + off) * this.cheatWidth;
|
||||
|
||||
if(idx >= 0 && idx < ITEM_LIST.size()) {
|
||||
if(slot >= 0 || instant) {
|
||||
if(slot != -1 || instant) {
|
||||
this.gm.player.client.addToSendQueue(new CPacketCheat(ITEM_LIST.get(idx), slot < 0 ? slot : -2 - slot, full));
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue