Fixes #2312: Fixes AEBaseContainer click handling.
Break the loop instead of returning to allow the transfer to still cleanup the leftovers afterwards while keeping the current behaviour.
This commit is contained in:
parent
83ac99da74
commit
0177f14051
|
@ -547,14 +547,14 @@ public abstract class AEBaseContainer extends Container
|
|||
{
|
||||
if( Platform.isSameItemPrecise( destination, tis ) )
|
||||
{
|
||||
return null;
|
||||
break;
|
||||
}
|
||||
else if( destination == null )
|
||||
{
|
||||
cs.putStack( tis.copy() );
|
||||
cs.onSlotChanged();
|
||||
this.updateSlot( cs );
|
||||
return null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue