Feature: #0675 - Drag'n'Drop functionality when making patterns
Fixed a bug where pattern would not properly re-populate the pattern terminal when they were re-inserted. Shift clicking into the inscriber is more intelligent.
This commit is contained in:
@@ -301,7 +301,11 @@ public abstract class AEBaseContainer extends Container
|
||||
protected Slot addSlotToContainer(Slot newSlot)
|
||||
{
|
||||
if ( newSlot instanceof AppEngSlot )
|
||||
{
|
||||
AppEngSlot s = (AppEngSlot) newSlot;
|
||||
s.myContainer = this;
|
||||
return super.addSlotToContainer( newSlot );
|
||||
}
|
||||
else
|
||||
throw new RuntimeException( "Invalid Slot for AE Container." );
|
||||
}
|
||||
@@ -1073,4 +1077,14 @@ public abstract class AEBaseContainer extends Container
|
||||
|
||||
}
|
||||
|
||||
public void onSlotChange(Slot s)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public boolean isValidForSlot(Slot s, ItemStack i)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user