Another fix for Prince Yukon of the apple farm
This commit is contained in:
parent
fe19fd440c
commit
e82cc37383
@ -12,15 +12,15 @@ public class FakeBoundingBox {
|
||||
}
|
||||
|
||||
public double getX() {
|
||||
return xMod;
|
||||
return xMod / 2;
|
||||
}
|
||||
|
||||
public double getY() {
|
||||
return yMod;
|
||||
return yMod / 2;
|
||||
}
|
||||
|
||||
public double getZ() {
|
||||
return zMod;
|
||||
return zMod / 2;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -259,13 +259,13 @@ public class ReflectionManager {
|
||||
stage++;
|
||||
switch (stage) {
|
||||
case 1:
|
||||
x = field.getDouble(boundingBox);
|
||||
x = field.getDouble(boundingBox) - oldBox.getX();
|
||||
break;
|
||||
case 2:
|
||||
y = field.getDouble(boundingBox);
|
||||
y = field.getDouble(boundingBox) - oldBox.getY();
|
||||
break;
|
||||
case 3:
|
||||
z = field.getDouble(boundingBox);
|
||||
z = field.getDouble(boundingBox) - oldBox.getZ();
|
||||
break;
|
||||
case 4:
|
||||
// if (entity.getType() != EntityType.PLAYER) {
|
||||
|
Loading…
Reference in New Issue
Block a user