Fix #15; completely overhaul the sound system to mirror Minecraft usage

This commit is contained in:
Dave Smith committed 2019-03-06 13:53:59 -07:00
1 parent d2b905dcdc
commit c78ae6dd1d
37 files changed
+632 -1419

No files matched your search

@@ -222,7 +222,7 @@ public class CommonPlayerTickHandler
public static boolean isFlamethrowerOn(EntityPlayer player)
{
if(Mekanism.flamethrowerActive.contains(player.getName()))
if(Mekanism.playerState.isFlamethrowerOn(player))
{
if(!player.inventory.getCurrentItem().isEmpty() && player.inventory.getCurrentItem().getItem() instanceof ItemFlamethrower)
{