mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Fix #15; completely overhaul the sound system to mirror Minecraft usage
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user