Allowing head rotation

This commit is contained in:
Xephi59 2015-07-09 00:38:35 +02:00
parent 57d81a7f6a
commit 88eb1048f6

View File

@ -342,7 +342,8 @@ public class AuthMePlayerListener implements Listener {
}
if (!Settings.isMovementAllowed) {
event.setTo(event.getFrom());
if (!event.getFrom().getBlock().equals(event.getTo().getBlock()))
event.setTo(event.getFrom());
return;
}