mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-11-21 12:32:15 +00:00
Add default canInteractWith to ContainerEnder
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user