mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
1 parent
75c51487ee
commit
4381be10ea
89 files changed
+414
-1563
No files matched your search
@@ -206,7 +206,7 @@ public class SoundHandler {
|
||||
.getTileEntity(new BlockPos(original.getXPosF(), original.getYPosF(), original.getZPosF()));
|
||||
if (te instanceof IUpgradeTile && ((IUpgradeTile) te).getComponent().supports(Upgrade.MUFFLING)) {
|
||||
int mufflerCount = ((IUpgradeTile) te).getComponent().getUpgrades(Upgrade.MUFFLING);
|
||||
return 1.0f - (mufflerCount / (float)Upgrade.MUFFLING.getMax());
|
||||
return 1.0f - (mufflerCount / (float) Upgrade.MUFFLING.getMax());
|
||||
}
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user