mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Use isBurning instead of isActive to play sound
This commit is contained in:
1 parent
09c182e250
commit
19fcb31aab
1 file changed
+1
-1
+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.
|
||||
|
||||
Reference in new issue
Block a user