Fix height for 1.9 and 1.8 users.
*Thanks QA for not fully testing*....
This commit is contained in:
parent
51fd23ff84
commit
38a0b593ee
@ -912,7 +912,11 @@ public class BonusManager extends MiniClientPlugin<BonusClientData> implements I
|
|||||||
|
|
||||||
if (client.getHologram() == null)
|
if (client.getHologram() == null)
|
||||||
{
|
{
|
||||||
double yAdd = 2.45;
|
double yAdd = 2.3;
|
||||||
|
if(!UtilPlayer.is1_9(player))
|
||||||
|
{
|
||||||
|
yAdd = 2.45;
|
||||||
|
}
|
||||||
hologram = new Hologram(_hologramManager, _carlNpc.getLocation().clone().add(0, yAdd, 0), "");
|
hologram = new Hologram(_hologramManager, _carlNpc.getLocation().clone().add(0, yAdd, 0), "");
|
||||||
hologram.setHologramTarget(Hologram.HologramTarget.WHITELIST);
|
hologram.setHologramTarget(Hologram.HologramTarget.WHITELIST);
|
||||||
hologram.addPlayer(player);
|
hologram.addPlayer(player);
|
||||||
|
Loading…
Reference in New Issue
Block a user