Ignore MOVE_REGION when clicking on crafting slots (#3032)
Exclude crafting slots from list of slots to move on space click. Fixes #3031
This commit is contained in:
@@ -828,11 +828,11 @@ public abstract class AEBaseContainer extends Container
|
||||
|
||||
if( action == InventoryAction.MOVE_REGION )
|
||||
{
|
||||
final List<Slot> from = new LinkedList<>();
|
||||
final List<Slot> from = new ArrayList<>();
|
||||
|
||||
for( final Object j : this.inventorySlots )
|
||||
{
|
||||
if( j instanceof Slot && j.getClass() == s.getClass() )
|
||||
if( j instanceof Slot && j.getClass() == s.getClass() && !( j instanceof SlotCraftingTerm ) )
|
||||
{
|
||||
from.add( (Slot) j );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user