We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aee3d20 commit b7ae204Copy full SHA for b7ae204
src/main/java/dev/hephaestus/glowcase/block/entity/SoundPlayerBlockEntity.java
@@ -171,7 +171,7 @@ public void setDone() {
171
@Override
172
public void tick() {
173
// stops track-stacking when reloading the block
174
- if (!inRange() || !(this.player.getWorld().getBlockEntity(this.soundBlockPos) instanceof SoundPlayerBlockEntity be && !this.isDifferentFrom(be.nowPlaying))) {
+ if (!inRange() || !(this.player.getWorld().getBlockEntity(this.soundBlockPos) instanceof SoundPlayerBlockEntity be && this == be.nowPlaying)) {
175
setDone();
176
}
177
0 commit comments