Client defaults to right hand

This commit is contained in:
md_5 2017-08-09 16:51:45 +10:00
parent 1039554039
commit 828e45651e

View File

@ -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