fix: repeat after loading from save

This commit is contained in:
2023-07-30 11:21:00 +08:00
parent 3ce9081400
commit 7ca6689bad

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()) {