@@ -137,6 +137,10 @@ public abstract class MoveItemsTaskMixin extends MultiTickTask<PathAwareEntity>
|
||||
}
|
||||
Copperfarmers.LOGGER.debug("Placed wheat seeds at " + pos.up());
|
||||
return;
|
||||
}
|
||||
if(storage.inventory() == null) {
|
||||
Copperfarmers.LOGGER.debug("No inventory to place items into at " + pos);
|
||||
return;
|
||||
}
|
||||
ItemStack itemStack = MoveItemsTaskAccessor.copperfarmers$insertStack(entity, storage.inventory());
|
||||
storage.inventory().markDirty();
|
||||
|
||||
Reference in New Issue
Block a user