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:
yueh 2016-10-22 15:10:12 +02:00
parent 83ac99da74
commit 0177f14051
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}