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

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