From 58ca0491497a52f299f6fa4f156d07bd697a3ae7 Mon Sep 17 00:00:00 2001 From: filoghost Date: Sat, 6 Dec 2014 19:09:38 +0100 Subject: [PATCH] Smaller tweaks. --- .../filoghost/holograms/nms/v1_8_R1/EntityCustomItem.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/EntityCustomItem.java b/HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/EntityCustomItem.java index 04d773ce..43671897 100644 --- a/HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/EntityCustomItem.java +++ b/HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/EntityCustomItem.java @@ -32,7 +32,7 @@ public class EntityCustomItem extends EntityItem implements CustomItem, BasicEnt super.pickupDelay = Integer.MAX_VALUE; // To fix the bounding box - a(0.05f, 1.2f); + a(0.05f, 2.0f); } @Override @@ -65,8 +65,8 @@ public class EntityCustomItem extends EntityItem implements CustomItem, BasicEnt @Override public void d(EntityHuman human) { - if (human.locY < this.locY + 0.5) { - // Too low, it's a bit weird. + if (human.locY < this.locY - 1.5 || human.locY > this.locY + 1.0) { + // Too low or too high, it's a bit weird. return; }