From df4ad180d7ee1452436dba4b574be344cff84ede Mon Sep 17 00:00:00 2001 From: xtex Date: Tue, 25 Jul 2023 14:47:20 +0800 Subject: [PATCH] fix: keep game ticking in PSH screen for single-player --- .../kotlin/quaedam/shell/ProjectionShellScreen.kt | 2 ++ .../quaedam/textures/item/projection_shell.png | Bin 0 -> 149 bytes 2 files changed, 2 insertions(+) create mode 100644 common/src/main/resources/assets/quaedam/textures/item/projection_shell.png diff --git a/common/src/main/kotlin/quaedam/shell/ProjectionShellScreen.kt b/common/src/main/kotlin/quaedam/shell/ProjectionShellScreen.kt index 7a24a5c..d51afd6 100644 --- a/common/src/main/kotlin/quaedam/shell/ProjectionShellScreen.kt +++ b/common/src/main/kotlin/quaedam/shell/ProjectionShellScreen.kt @@ -81,4 +81,6 @@ class ProjectionShellScreen(val level: Level, val pos: BlockPos, val shell: Proj ProjectionShell.channel.sendToServer(ServerboundPSHLockReleasePacket(pos)) } + override fun isPauseScreen() = false + } \ No newline at end of file diff --git a/common/src/main/resources/assets/quaedam/textures/item/projection_shell.png b/common/src/main/resources/assets/quaedam/textures/item/projection_shell.png new file mode 100644 index 0000000000000000000000000000000000000000..50963c9d74d4ca1745eafe7aae517bd2576145ab GIT binary patch literal 149 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|{5@S9Lo9le z6C^%0OziG{ZLi9TP raFu(pUIT+#km-VGr$R583I>L0F$xK-veBkMqZvG1{an^LB{Ts5Hij*^ literal 0 HcmV?d00001