Switch player position to be based on eye/head position - fix hideifundercover problem when in minecarts

This commit is contained in:
Mike Primm 2012-07-30 21:00:52 -05:00
parent 5d9677b350
commit b5700bd462
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
if(player == null) {
return null;
}
Location loc = player.getLocation();
Location loc = player.getEyeLocation(); // Use eye location, since we show head
return toLoc(loc);
}
@Override