mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-12 08:17:29 +00:00
Cleaning up some warnings hanging around. (Damn you, type erasure.)
Adding descriptions to a bunch of bees missing them.
This commit is contained in:
1 parent
21b26e491c
commit
975a63afef
6 files changed
+26
-26
No files matched your search
@@ -58,6 +58,7 @@ public abstract class AlleleEffect extends Allele implements IAlleleBeeEffect
|
||||
return Allele.forestryBaseEffect.doFX(genome, storedData, housing);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected List<Entity> getEntitiesWithinRange(IBeeGenome genome, IBeeHousing housing)
|
||||
{
|
||||
// Get the size of the affected area
|
||||
@@ -76,7 +77,7 @@ public abstract class AlleleEffect extends Allele implements IAlleleBeeEffect
|
||||
max[2] = housing.getZCoord() + area[2] / 2;
|
||||
|
||||
AxisAlignedBB bounds = AxisAlignedBB.getBoundingBox(min[0], min[1], min[2], max[0], max[1], max[2]);
|
||||
return housing.getWorld().getEntitiesWithinAABB(EntityPlayer.class, bounds);
|
||||
return (List<Entity>)housing.getWorld().getEntitiesWithinAABB(EntityPlayer.class, bounds);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user