This commit is contained in:
Aidan C. Brady committed 2014-07-16 19:16:38 -04:00
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;
}