mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
parent
81375683d0
commit
bea1b4e798
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class ItemChestToCrateUpgrade extends ItemBase{
|
|||
ItemStack heldStack = player.getHeldItem(hand);
|
||||
if(player.isSneaking()){
|
||||
TileEntity tileHit = world.getTileEntity(pos);
|
||||
if(tileHit.getClass() == this.start){
|
||||
if(tileHit != null && tileHit.getClass() == this.start){
|
||||
if(!world.isRemote){
|
||||
|
||||
//Copy Slots
|
||||
|
|
Loading…
Reference in a new issue