Fix height for 1.9 and 1.8 users.

*Thanks QA for not fully testing*....
This commit is contained in:
TadahTech 2016-05-17 17:02:16 -05:00 committed by cnr
parent 51fd23ff84
commit 38a0b593ee
1 changed files with 5 additions and 1 deletions

View File

@ -912,7 +912,11 @@ public class BonusManager extends MiniClientPlugin<BonusClientData> implements I
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.setHologramTarget(Hologram.HologramTarget.WHITELIST);
hologram.addPlayer(player);