Fix login death caused by built up fall damage using /fly.

This commit is contained in:
KHobbits 2014-03-03 21:24:00 +00:00
parent 9ec0ca25a5
commit 545d706a70

View File

@ -305,6 +305,7 @@ public class EssentialsPlayerListener implements Listener
if (user.isAuthorized("essentials.fly.safelogin"))
{
user.setFallDistance(0);
if (LocationUtil.shouldFly(user.getLocation()))
{
user.setAllowFlight(true);