Removed dragging behavior for fake slots from left right button.
This commit is contained in:
parent
1f75e16cee
commit
b7684d37ea
1 changed files with 12 additions and 8 deletions
|
@ -67,7 +67,8 @@ public abstract class AEBaseGui extends GuiContainer
|
||||||
static public boolean switchingGuis;
|
static public boolean switchingGuis;
|
||||||
private boolean subGui;
|
private boolean subGui;
|
||||||
|
|
||||||
public AEBaseGui(Container container) {
|
public AEBaseGui(Container container)
|
||||||
|
{
|
||||||
super( container );
|
super( container );
|
||||||
subGui = switchingGuis;
|
subGui = switchingGuis;
|
||||||
switchingGuis = false;
|
switchingGuis = false;
|
||||||
|
@ -416,6 +417,8 @@ public abstract class AEBaseGui extends GuiContainer
|
||||||
ItemStack itemstack = this.mc.thePlayer.inventory.getItemStack();
|
ItemStack itemstack = this.mc.thePlayer.inventory.getItemStack();
|
||||||
|
|
||||||
if ( slot instanceof SlotFake && itemstack != null )
|
if ( slot instanceof SlotFake && itemstack != null )
|
||||||
|
{
|
||||||
|
if ( c == 0 )
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -427,6 +430,7 @@ public abstract class AEBaseGui extends GuiContainer
|
||||||
AELog.error( e );
|
AELog.error( e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
super.mouseClickMove( x, y, c, d );
|
super.mouseClickMove( x, y, c, d );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue