Nasty hack for Mr apple to spew on

This commit is contained in:
libraryaddict 2013-12-31 18:10:29 +13:00
parent 62febe6d39
commit fe19fd440c
2 changed files with 8 additions and 5 deletions

View File

@ -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())) {

View File

@ -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();
}