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:
@@ -547,14 +547,14 @@ public abstract class AEBaseContainer extends Container
|
|||||||
{
|
{
|
||||||
if( Platform.isSameItemPrecise( destination, tis ) )
|
if( Platform.isSameItemPrecise( destination, tis ) )
|
||||||
{
|
{
|
||||||
return null;
|
break;
|
||||||
}
|
}
|
||||||
else if( destination == null )
|
else if( destination == null )
|
||||||
{
|
{
|
||||||
cs.putStack( tis.copy() );
|
cs.putStack( tis.copy() );
|
||||||
cs.onSlotChanged();
|
cs.onSlotChanged();
|
||||||
this.updateSlot( cs );
|
this.updateSlot( cs );
|
||||||
return null;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user