feat: set default focus for PSH screen

This commit is contained in:
2023-07-24 11:33:00 +08:00
parent 68b8c73896
commit 968c885dba

View File

@@ -38,7 +38,7 @@ class ProjectionShellScreen(val level: Level, val pos: BlockPos, val shell: Proj
block.applyFromShell(level, pos, shell)
}
GameInstance.getClient().setScreen(null)
}.build())
}.build().apply(::setInitialFocus))
}
layout.arrangeElements()
layout.x = (width - layout.width) / 2