mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Started work on flamethrower sounds, also increased efficiency of SoundHandler (now loops over sounds only once instead of twice)
This commit is contained in:
1 parent
f9fdb56e24
commit
cdeb25803c
5 files changed
+102
-20
No files matched your search
@@ -25,7 +25,11 @@ public abstract class PlayerSound extends Sound
|
||||
@Override
|
||||
public boolean update(World world)
|
||||
{
|
||||
if(player.isDead)
|
||||
if(!super.update(world))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else if(player.isDead)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user