From 835c2fdb6c1f1064ebb0eece8816cd4edfee3ec8 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 28 Jan 2025 22:44:58 +0500 Subject: feat: set the server constants on connect --- .../main/java/kz/ilotterytea/frogartha/FrogarthaConstants.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'shared/src/main/java/kz/ilotterytea/frogartha/FrogarthaConstants.java') diff --git a/shared/src/main/java/kz/ilotterytea/frogartha/FrogarthaConstants.java b/shared/src/main/java/kz/ilotterytea/frogartha/FrogarthaConstants.java index 06ca3b2..216a9d1 100644 --- a/shared/src/main/java/kz/ilotterytea/frogartha/FrogarthaConstants.java +++ b/shared/src/main/java/kz/ilotterytea/frogartha/FrogarthaConstants.java @@ -20,9 +20,9 @@ public class FrogarthaConstants { } public static class Player { - public static final float MAX_JUMP_STRENGTH = 1.5f; - public static final float MAX_JUMP_HEIGHT = 2f; - public static final float JUMP_SPEED = 10f; + public static float MAX_JUMP_STRENGTH = 1.5f; + public static float MAX_JUMP_HEIGHT = 2f; + public static float JUMP_SPEED = 10f; } public static class Room { @@ -30,7 +30,7 @@ public class FrogarthaConstants { } public static class Chat { - public static final int MAX_MESSAGE_LENGTH = 100; - public static final int MESSAGE_PER_MS = 500; + public static int MAX_MESSAGE_LENGTH = 100; + public static int MESSAGE_PER_MS = 500; } } -- cgit v1.2.3