mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
bleh
This commit is contained in:
parent
3bbf2c3d4a
commit
872e124cd8
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ public class ContainerBag extends Container implements IButtonReactor{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canInteractWith(EntityPlayer player){
|
public boolean canInteractWith(EntityPlayer player){
|
||||||
return player.getHeldItemMainhand() == sack;
|
return !sack.isEmpty() && player.getHeldItemMainhand() == sack;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue