forked from Clones/Controlify
🐛 Slight tweak to keyboard movement list check (equals -> endswith ip)
This commit is contained in:
1 parent
47ab3b4c63
commit
70b1629bc0
1 file changed
+1
-1
@@ -37,6 +37,6 @@ public class GlobalSettings {
|
||||
public boolean shouldUseKeyboardMovement() {
|
||||
ServerData server = Minecraft.getInstance().getCurrentServer();
|
||||
return alwaysKeyboardMovement
|
||||
|| (server != null && keyboardMovementWhitelist.stream().anyMatch(server.ip::equalsIgnoreCase));
|
||||
|| (server != null && keyboardMovementWhitelist.stream().anyMatch(server.ip::endsWith));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user