fix: repeat after loading from save

This commit is contained in:
xtex 2023-07-30 11:21:00 +08:00
parent 3ce9081400
commit 7ca6689bad
Signed by: xtex
GPG Key ID: B918086ED8045B91

View File

@ -207,6 +207,7 @@ class SmartInstrumentBlockEntity(pos: BlockPos, state: BlockState) :
fun tick() {
if (playerData != null) {
player = MusicPlayer(playerData!!, level!!, blockPos)
playerData = null
}
if (player != null) {
if (checkProjections()) {