mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-09-16 17:44:17 +02:00
Smaller tweaks.
This commit is contained in:
parent
9e6e68c9db
commit
58ca049149
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user