mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +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) {
|
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) {
|
public static double invertSpread(double v) {
|
||||||
|
|||||||
Reference in New Issue
Block a user