Fix hasExopack change does not invalidate current exopack menu
This commit is contained in:
parent
834b05a697
commit
62fdff4a34
@ -210,6 +210,7 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial
|
|||||||
*/
|
*/
|
||||||
var hasExopack by publicSynchronizer.bool(setter = setter@{ value, access, _ ->
|
var hasExopack by publicSynchronizer.bool(setter = setter@{ value, access, _ ->
|
||||||
access.write(value)
|
access.write(value)
|
||||||
|
_exoPackMenu = null
|
||||||
|
|
||||||
if (value && ply is ServerPlayer) {
|
if (value && ply is ServerPlayer) {
|
||||||
tickList.once {
|
tickList.once {
|
||||||
|
Loading…
Reference in New Issue
Block a user