Nasty hack for Mr apple to spew on
This commit is contained in:
parent
62febe6d39
commit
fe19fd440c
@ -199,6 +199,9 @@ public abstract class Disguise {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isModifyBoundingBox()) {
|
||||
DisguiseUtilities.doBoundingBox(disguise);
|
||||
}
|
||||
// If the vectorY isn't 0. Cos if it is. Then it doesn't want to send any vectors.
|
||||
// If this disguise has velocity sending enabled and the entity is flying.
|
||||
if (vectorY != 0 && isVelocitySent() && (alwaysSendVelocity || !getEntity().isOnGround())) {
|
||||
|
@ -268,24 +268,24 @@ public class ReflectionManager {
|
||||
z = field.getDouble(boundingBox);
|
||||
break;
|
||||
case 4:
|
||||
if (entity.getType() != EntityType.PLAYER) {
|
||||
// if (entity.getType() != EntityType.PLAYER) {
|
||||
field.setDouble(boundingBox, x + newBox.getX());
|
||||
}
|
||||
// }
|
||||
break;
|
||||
case 5:
|
||||
field.setDouble(boundingBox, y + newBox.getY());
|
||||
break;
|
||||
case 6:
|
||||
if (entity.getType() != EntityType.PLAYER) {
|
||||
// if (entity.getType() != EntityType.PLAYER) {
|
||||
field.setDouble(boundingBox, z + newBox.getZ());
|
||||
}
|
||||
// }
|
||||
break;
|
||||
default:
|
||||
throw new Exception("Error while setting the bounding box, more doubles than I thought??");
|
||||
}
|
||||
}
|
||||
}
|
||||
setSize(entity, entitySize);
|
||||
// setSize(entity, entitySize);
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user