fix: release PSH lock when failed to open
This commit is contained in:
parent
680d4d76e1
commit
1841e71ff8
@ -50,6 +50,7 @@ data class ClientboundPSHLockResultPacket(val pos: BlockPos, val result: Boolean
|
|||||||
)
|
)
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
Quaedam.logger.error("Failed to open projection shell screen", e)
|
Quaedam.logger.error("Failed to open projection shell screen", e)
|
||||||
|
ProjectionShell.channel.sendToServer(ServerboundPSHLockReleasePacket(pos))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user