Improved handling of chat message packets

More improvements and fixes relating to dynamic regions and constructions
This commit is contained in:
Ceikry
2023-02-28 23:04:52 +00:00
committed by Ryan
parent dcaa980822
commit 5206c99151
9 changed files with 100 additions and 59 deletions
+3
View File
@@ -34,6 +34,9 @@ public class Util {
public static double clamp(double input, double min, double max) {
return Math.max(Math.min(input, max), min);
}
public static int clamp(int input, int min, int max) {
return Math.max(Math.min(input, max), min);
}
public static long nextMidnight(long currentTime) {
Date date = new Date();