There was an error while loading. Please reload this page.
1 parent 4edc155 commit 0ccc5feCopy full SHA for 0ccc5fe
1 file changed
src/main/java/dev/isxander/controlify/config/settings/GlobalSettings.java
@@ -101,7 +101,7 @@ public boolean shouldUseKeyboardMovement() {
101
return switch (ServerPolicies.ANALOGUE_MOVEMENT.getPolicy()) {
102
case ALLOWED -> false;
103
case DISALLOWED -> true;
104
- case UNSET -> analogueMovementWhitelist.stream().noneMatch(server.ip::endsWith);
+ case UNSET -> !server.isRealm() && analogueMovementWhitelist.stream().noneMatch(server.ip::endsWith);
105
};
106
}
107
0 commit comments