Fix accidental inversion of check

This commit is contained in:
Carl Andersson committed 2021-12-26 21:49:46 +01:00
1 parent cee400a4c6
commit bdc3b1971c
1 file changed
+1 -1
@@ -17,7 +17,7 @@ public class Keybinding implements HotkeyListener {
public Keybinding(VRServer server) {
this.server = server;
if (OperatingSystem.getCurrentPlatform() == OperatingSystem.WINDOWS) {
if (OperatingSystem.getCurrentPlatform() != OperatingSystem.WINDOWS) {
LogManager.log.info("[Keybinding] Currently only supported on Windows. Keybindings will be disabled.");
return;
}