Fixed Issue with Interface and Gui, and Derpy Automation( Hoppers )
This commit is contained in:
@@ -4,6 +4,7 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import appeng.tile.inventory.AppEngInternalInventory;
|
||||
|
||||
public class AppEngSlot extends Slot
|
||||
{
|
||||
@@ -51,7 +52,11 @@ public class AppEngSlot extends Slot
|
||||
@Override
|
||||
public void onSlotChanged()
|
||||
{
|
||||
super.onSlotChanged();
|
||||
if ( inventory instanceof AppEngInternalInventory )
|
||||
((AppEngInternalInventory) inventory).onInventoryChanged( getSlotIndex() );
|
||||
else
|
||||
super.onSlotChanged();
|
||||
|
||||
isValid = hasCalculatedValidness.NotAvailable;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user