From 19fcb31aab507e388975b70cfd72ffa313650ce6 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Thu, 21 Mar 2019 14:39:15 -0600 Subject: [PATCH] Use isBurning instead of isActive to play sound --- .../common/tile/reactor/TileEntityReactorController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mekanism/generators/common/tile/reactor/TileEntityReactorController.java b/src/main/java/mekanism/generators/common/tile/reactor/TileEntityReactorController.java index 90594c402..1c27c4a00 100644 --- a/src/main/java/mekanism/generators/common/tile/reactor/TileEntityReactorController.java +++ b/src/main/java/mekanism/generators/common/tile/reactor/TileEntityReactorController.java @@ -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.