mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-13 05:54:17 +01:00
parent
abdeb212e8
commit
5303d69bf1
@ -124,8 +124,8 @@ public class DeployerTileEntity extends KineticTileEntity {
|
|||||||
private void initHandler() {
|
private void initHandler() {
|
||||||
if (invHandler != null)
|
if (invHandler != null)
|
||||||
return;
|
return;
|
||||||
if (!level.isClientSide) {
|
if (level instanceof ServerLevel sLevel) {
|
||||||
player = new DeployerFakePlayer((ServerLevel) level);
|
player = new DeployerFakePlayer(sLevel);
|
||||||
if (deferredInventoryList != null) {
|
if (deferredInventoryList != null) {
|
||||||
player.getInventory()
|
player.getInventory()
|
||||||
.load(deferredInventoryList);
|
.load(deferredInventoryList);
|
||||||
|
Loading…
Reference in New Issue
Block a user