Switch player position to be based on eye/head position - fix hideifundercover problem when in minecarts
This commit is contained in:
parent
c1f351ce27
commit
86167788fa
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
||||||
if(player == null) {
|
if(player == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
Location loc = player.getLocation();
|
Location loc = player.getEyeLocation(); // Use eye location, since we show head
|
||||||
return toLoc(loc);
|
return toLoc(loc);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue