mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-18 07:53:07 +01:00
parent
abdeb212e8
commit
5303d69bf1
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ public class DeployerTileEntity extends KineticTileEntity {
|
|||
private void initHandler() {
|
||||
if (invHandler != null)
|
||||
return;
|
||||
if (!level.isClientSide) {
|
||||
player = new DeployerFakePlayer((ServerLevel) level);
|
||||
if (level instanceof ServerLevel sLevel) {
|
||||
player = new DeployerFakePlayer(sLevel);
|
||||
if (deferredInventoryList != null) {
|
||||
player.getInventory()
|
||||
.load(deferredInventoryList);
|
||||
|
|
Loading…
Reference in a new issue