Fix going between dimensions not resetting remote slot state of exosuit inventory

This commit is contained in:
DBotThePony 2022-10-12 11:15:08 +07:00
parent 5d7abb6ee8
commit 5970671521
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -637,6 +637,10 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial
for (feature in featureMap.values) {
feature.invalidateNetwork()
}
for (i in 0 until exoSuitMenu.slots.size) {
exoSuitMenu.setRemoteSlotNoCopy(i, ItemStack.EMPTY)
}
}
tickedOnce = true