mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Fixes!
This commit is contained in:
1 parent
4309a7d7b1
commit
8ccf4e6653
8 files changed
+41
-27
No files matched your search
@@ -11,7 +11,7 @@ public class FlamethrowerSound extends PlayerSound
|
||||
|
||||
public FlamethrowerSound(String id, EntityPlayer entity)
|
||||
{
|
||||
super(id, getSound(getInUse(entity)), entity);
|
||||
super(id, getSound(getInUse(entity)), SoundHandler.CHANNEL_FLAMETHROWER, entity);
|
||||
|
||||
inUse = getInUse(entity);
|
||||
}
|
||||
@@ -31,13 +31,14 @@ public class FlamethrowerSound extends PlayerSound
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if(isPlaying)
|
||||
|
||||
if(!isPlaying)
|
||||
{
|
||||
System.out.println(getLocation());
|
||||
ticksSincePlay++;
|
||||
play();
|
||||
}
|
||||
|
||||
ticksSincePlay++;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user