mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Cleanup!
This commit is contained in:
1 parent
32a98341e5
commit
9cf015ee97
85 files changed
+369
-447
No files matched your search
@@ -85,7 +85,7 @@ public class BlockLightLauncher extends BlockMod implements ILexiconable {
|
||||
AxisAlignedBB aabb = AxisAlignedBB.getBoundingBox(x, y, z, x + 1, y + 1, z + 1);
|
||||
List<Entity> entities = world.getEntitiesWithinAABB(EntityLivingBase.class, aabb);
|
||||
entities.addAll(world.getEntitiesWithinAABB(EntityItem.class, aabb));
|
||||
|
||||
|
||||
if(!entities.isEmpty()) {
|
||||
for(Entity entity : entities) {
|
||||
TileLightRelay relay = relays.get(world.rand.nextInt(relays.size()));
|
||||
|
||||
Reference in new issue
Block a user