Add default canInteractWith to ContainerEnder

This commit is contained in:
tterrag1098 committed 2015-08-25 17:21:43 -04:00
1 parent 555a447143
commit 62083c45f2
1 file changed
+5
@@ -69,6 +69,11 @@ public abstract class ContainerEnder<T extends IInventory> extends Container {
return inv;
}
@Override
public boolean canInteractWith(EntityPlayer player) {
return getInv().isUseableByPlayer(player);
}
@Override
public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) {
ItemStack itemstack = null;