Fix some issues
This commit is contained in:
parent
7ccd5bcebd
commit
8051e0cfbb
8 changed files with 19 additions and 10 deletions
|
@ -63,6 +63,10 @@ public class QuantumTankBlockEntity extends TankUnitBaseBlockEntity {
|
|||
|
||||
TankUnitBaseBlockEntity tankEntity = (TankUnitBaseBlockEntity) world.getBlockEntity(pos);
|
||||
|
||||
if (tankEntity == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
tankEntity.setTank(tank);
|
||||
|
||||
tankEntity.setStack(0, inputSlotStack);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue