mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
Vec3 and AABB factory to plain ctor
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user