mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
Fix odd color negative -> ?
This commit is contained in:
@@ -224,7 +224,7 @@ public class VolmitSender implements CommandSender {
|
||||
}
|
||||
|
||||
public static String pulse(double speed) {
|
||||
return Form.f(invertSpread((((getTick() * 15D * speed) % 1000D) / 1000D)), 3).replaceAll("\\Q,\\E", ".");
|
||||
return Form.f(invertSpread((((getTick() * 15D * speed) % 1000D) / 1000D)), 3).replaceAll("\\Q,\\E", ".").replaceAll("\\Q?\\E", "-");
|
||||
}
|
||||
|
||||
public static double invertSpread(double v) {
|
||||
|
||||
Reference in New Issue
Block a user