do not recreate exopack menu if it's not ready

This commit is contained in:
YuRaNnNzZZ 2024-10-07 15:24:23 +03:00
parent 1c3fc4e6e6
commit 385a00c55b
Signed by: YuRaNnNzZZ
GPG Key ID: 5F71738C85A6006D

View File

@ -418,6 +418,7 @@ class MatteryPlayer(val ply: Player) {
val enderSortingSettings = IItemStackSortingSettings.Impl() val enderSortingSettings = IItemStackSortingSettings.Impl()
fun recreateExoPackMenu() { fun recreateExoPackMenu() {
if (_exoPackMenu == null) return
_exoPackMenu = ExopackInventoryMenu(this) _exoPackMenu = ExopackInventoryMenu(this)
} }