mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Port config rewrite (#5378)
Port Config system, Remove some unused code, Refactored various Tier enums out into their own package
This commit is contained in:
1 parent
a776879eed
commit
9d98ef575d
209 files changed
+3275
-2763
No files matched your search
@@ -62,7 +62,7 @@ public class PlayerState {
|
||||
}
|
||||
|
||||
// Start a sound playing if the person is now flying
|
||||
if (isActive && MekanismConfig.client.enablePlayerSounds) {
|
||||
if (isActive && MekanismConfig.current().client.enablePlayerSounds.val()) {
|
||||
SoundHandler.startSound(world.getPlayerEntityByUUID(uuid), "jetpack");
|
||||
}
|
||||
}
|
||||
@@ -107,7 +107,7 @@ public class PlayerState {
|
||||
}
|
||||
|
||||
// Start a sound playing if the person is now using a gasmask
|
||||
if (isActive && MekanismConfig.client.enablePlayerSounds) {
|
||||
if (isActive && MekanismConfig.current().client.enablePlayerSounds.val()) {
|
||||
SoundHandler.startSound(world.getPlayerEntityByUUID(uuid), "gasmask");
|
||||
}
|
||||
}
|
||||
@@ -152,7 +152,7 @@ public class PlayerState {
|
||||
}
|
||||
|
||||
// Start a sound playing if the person is now using a flamethrower
|
||||
if (isActive && MekanismConfig.client.enablePlayerSounds) {
|
||||
if (isActive && MekanismConfig.current().client.enablePlayerSounds.val()) {
|
||||
SoundHandler.startSound(world.getPlayerEntityByUUID(uuid), "flamethrower");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user