fix: repeat after loading from save
This commit is contained in:
parent
3ce9081400
commit
7ca6689bad
@ -207,6 +207,7 @@ class SmartInstrumentBlockEntity(pos: BlockPos, state: BlockState) :
|
|||||||
fun tick() {
|
fun tick() {
|
||||||
if (playerData != null) {
|
if (playerData != null) {
|
||||||
player = MusicPlayer(playerData!!, level!!, blockPos)
|
player = MusicPlayer(playerData!!, level!!, blockPos)
|
||||||
|
playerData = null
|
||||||
}
|
}
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
if (checkProjections()) {
|
if (checkProjections()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user