Vec3 and AABB factory to plain ctor

This commit is contained in:
Vincent Lee committed 2015-11-13 19:51:23 -06:00
1 parent 5a11a58346
commit f6cfeedd1d
82 files changed
+116 -116

No files matched your search

@@ -48,7 +48,7 @@ public class EntityFallingStar extends EntityThrowableCopy {
EntityLivingBase thrower = getThrower();
if(!worldObj.isRemote && thrower != null) {
AxisAlignedBB axis = AxisAlignedBB.getBoundingBox(posX, posY, posZ, lastTickPosX, lastTickPosY, lastTickPosZ).expand(2, 2, 2);
AxisAlignedBB axis = new AxisAlignedBB(posX, posY, posZ, lastTickPosX, lastTickPosY, lastTickPosZ).expand(2, 2, 2);
List<EntityLivingBase> entities = worldObj.getEntitiesWithinAABB(EntityLivingBase.class, axis);
for(EntityLivingBase living : entities) {
if(living == thrower)