Fix type id not getting reset for player location. (Blame minor

optimizations.)
This commit is contained in:
asofold 2012-09-21 15:06:30 +02:00
parent 139567f150
commit 2aea67b463

View File

@ -274,6 +274,7 @@ public class PlayerLocation {
z = (int) Math.floor(location.getZ());
world = ((CraftWorld) location.getWorld()).getHandle();
typeId = typeIdBelow = null;
aboveStairs = inLava = inWater = inWeb = onGround = onIce = onLadder = null;
this.setyOnGround(yFreedom);