mirror of https://github.com/webbukkit/dynmap.git
Switch player position to be based on eye/head position - fix hideifundercover problem when in minecarts
This commit is contained in:
parent
5d9677b350
commit
b5700bd462
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue