mirror of
https://github.com/GTNewHorizons/Tainted-Magic.git
synced 2026-11-21 04:22:21 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
1eaf9b7991
commit
62390a0d0f
79 files changed
+3118
-1929
No files matched your search
@@ -8,13 +8,17 @@ public class SashClientHandler {
|
||||
private static boolean sashEnabled = true;
|
||||
|
||||
public static void toggle() {
|
||||
sashEnabled = !sashEnabled;
|
||||
sashEnabled = !sashEnabled;
|
||||
if (sashEnabled) {
|
||||
HUDHandler.displayString(EnumChatFormatting.GREEN + StatCollector.translateToLocal("text.sash.speed.on"),
|
||||
300, false);
|
||||
HUDHandler.displayString(
|
||||
EnumChatFormatting.GREEN + StatCollector.translateToLocal("text.sash.speed.on"),
|
||||
300,
|
||||
false);
|
||||
} else {
|
||||
HUDHandler.displayString(EnumChatFormatting.RED + StatCollector.translateToLocal("text.sash.speed.off"),
|
||||
300, false);
|
||||
HUDHandler.displayString(
|
||||
EnumChatFormatting.RED + StatCollector.translateToLocal("text.sash.speed.off"),
|
||||
300,
|
||||
false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user