Fix pattern panel not saving pause state
This commit is contained in:
parent
1ab252e57a
commit
b93e007388
@ -93,6 +93,8 @@ class MatterPanelBlockEntity(blockPos: BlockPos, blockState: BlockState) : Matte
|
|||||||
init {
|
init {
|
||||||
exposeGlobally(MatteryCapability.MATTER_NODE, matterNode)
|
exposeGlobally(MatteryCapability.MATTER_NODE, matterNode)
|
||||||
exposeGlobally(MatteryCapability.TASK, this)
|
exposeGlobally(MatteryCapability.TASK, this)
|
||||||
|
|
||||||
|
savetables.bool(::isProvidingTasks)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun setLevel(level: Level) {
|
override fun setLevel(level: Level) {
|
||||||
|
Loading…
Reference in New Issue
Block a user