style: format code

This commit is contained in:
xtex 2023-07-30 10:37:44 +08:00
parent fd7766b38c
commit 421f80c9a1
Signed by: xtex
GPG Key ID: B918086ED8045B91

View File

@ -212,7 +212,7 @@ class SmartInstrumentBlockEntity(pos: BlockPos, state: BlockState) :
if (checkProjections()) {
player!!.tick()
if (!level!!.isClientSide) {
if (player!!.isEnd == true) {
if (player!!.isEnd) {
player = null
setChanged()
sendBlockUpdated()