Fix issue

This commit is contained in:
AverageGithub 2024-02-28 15:50:00 +01:00
parent d0a3a09a5e
commit 17e00615da

View File

@ -566,8 +566,10 @@ class Minion(
if (ticking) {
Scheduler.get().runAt(linkedChest) {
if (linkedChest!!.world!!.isChunkLoaded(linkedChest!!.blockX shr 4, linkedChest!!.blockZ shr 4)) {
linkedInventory = (linkedChest?.block?.state as? Container)?.inventory
}
}
} else {
linkedInventory = null
}