Use isBurning instead of isActive to play sound

This commit is contained in:
Dave Smith committed 2019-03-21 14:39:15 -06:00
1 parent 09c182e250
commit 19fcb31aab
1 file changed
+1 -1
@@ -116,7 +116,7 @@ public class TileEntityReactorController extends TileEntityReactorBlock implemen
return;
}
if (getActive() && !isInvalid()) {
if (isBurning() && !isInvalid()) {
// If sounds are being muted, we can attempt to start them on every tick, only to have them
// denied by the event bus, so use a cooldown period that ensures we're only trying once every
// second or so to start a sound.