9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-22 08:39:14 +00:00

Fixed bad math for MAX_HEIGHT and FAST_MAX_HEIGHT.

This commit is contained in:
Vatuu
2022-05-22 03:02:50 +02:00
parent 62f7fc17d1
commit d37b298f07
2 changed files with 26 additions and 27 deletions

View File

@@ -244,12 +244,12 @@ public class Iris extends VolmitPlugin implements Listener {
return f;
}
public static void warn(String string) {
msg(C.YELLOW + string);
public static void warn(String format, Object... objs) {
msg(C.YELLOW + String.format(format, objs));
}
public static void error(String string) {
msg(C.RED + string);
public static void error(String format, Object... objs) {
msg(C.RED + String.format(format, objs));
}
public static void debug(String string) {