mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 18:44:44 +00:00
Fix solegnolia having lower range than advertised. Closes #346
This commit is contained in:
1 file changed
+1
-1
@@ -49,7 +49,7 @@ public class SubTileSolegnolia extends SubTileFunctional {
|
||||
.filter(f -> f.redstoneSignal == 0)
|
||||
.filter(f -> f.supertile.getWorld() != e.worldObj)
|
||||
.filter(f -> f.supertile.getWorld().getTileEntity(f.supertile.getPos()) == f.supertile)
|
||||
.filter(f -> f.supertile.getDistanceSq(e.posX, e.posY, e.posZ) <= f.getRange())
|
||||
.filter(f -> f.supertile.getDistanceSq(e.posX, e.posY, e.posZ) <= f.getRange() * f.getRange())
|
||||
.findAny().isPresent();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user