From 828e45651ef11ef4c7bde3f4ea0a1dbc97390c77 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 9 Aug 2017 16:51:45 +1000 Subject: [PATCH] Client defaults to right hand --- proxy/src/main/java/net/md_5/bungee/UserConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index a21b30c8b..47a30f71c 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -589,7 +589,7 @@ public final class UserConnection implements ProxiedPlayer @Override public ProxiedPlayer.MainHand getMainHand() { - return ( settings != null && settings.getMainHand() == 1 ) ? ProxiedPlayer.MainHand.RIGHT : ProxiedPlayer.MainHand.LEFT; + return ( settings == null || settings.getMainHand() == 1 ) ? ProxiedPlayer.MainHand.RIGHT : ProxiedPlayer.MainHand.LEFT; } @Override