mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Make SoundHandler static, remove some unneeded stuff.
This commit is contained in:
1 parent
c4d1fd32f4
commit
2a52ba36af
11 files changed
+30
-107
No files matched your search
@@ -467,17 +467,6 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void invalidate()
|
||||
{
|
||||
super.invalidate();
|
||||
|
||||
if(worldObj.isRemote)
|
||||
{
|
||||
Mekanism.proxy.unregisterSound(this);
|
||||
}
|
||||
}
|
||||
|
||||
public int getScaledProgress(int i, int process)
|
||||
{
|
||||
return progress[process]*i / MekanismUtils.getTicks(this, TICKS_REQUIRED);
|
||||
|
||||
Reference in new issue
Block a user