Fix invalid note blocks message appearing twice
This commit is contained in:
parent
79dc952732
commit
9da9c6bec8
@ -52,6 +52,7 @@ public class SongPlayer implements ClientTickEvents.StartWorldTick {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onStartTick(ClientWorld world) {
|
public void onStartTick(ClientWorld world) {
|
||||||
|
if (!running) return;
|
||||||
if (noteBlocks == null) {
|
if (noteBlocks == null) {
|
||||||
noteBlocks = new HashMap<>();
|
noteBlocks = new HashMap<>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user