hud: fix offhand cache invalidation

This commit is contained in:
Bixilon 2022-02-26 22:52:06 +01:00
parent a446a66a71
commit e074ba66f8
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -44,6 +44,7 @@ class HotbarOffhandElement(guiRenderer: GUIRenderer) : Element(guiRenderer) {
marginOf(left = 5)
}
this.margin = margin
containerElement.parent = this
}