Fixed Fake Slot Dragging Behavior ( Fixed Bug: #1108 )

This commit is contained in:
AlgorithmX2
2014-09-19 20:34:25 -05:00
parent d9060b7ca5
commit 68cc7fd5f7
3 changed files with 31 additions and 5 deletions
+11 -1
View File
@@ -676,7 +676,7 @@ public abstract class AEBaseContainer extends Container
else
addSlotToContainer( new SlotPlayerHotBar( inventoryPlayer, i, 8 + i * 18 + offset_x, 58 + offset_y ) );
}
for (int i = 0; i < 3; i++)
{
for (int j = 0; j < 9; j++)
@@ -731,6 +731,16 @@ public abstract class AEBaseContainer extends Container
else
s.putStack( hand.copy() );
break;
case PLACE_SINGLE:
if ( hand != null )
{
ItemStack is = hand.copy();
is.stackSize = 1;
s.putStack( is );
}
break;
case SPLIT_OR_PLACESINGLE: