mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Doubled the range in which the Mana Enchanter can pull from Mana Pools. The range it was before was stupidly low anyway.
This commit is contained in:
1 parent
307b800c9b
commit
fbcdd39981
1 file changed
+3
-2
@@ -173,8 +173,9 @@ public class TileEnchanter extends TileMod implements IManaReceiver {
|
||||
advanceStage();
|
||||
} else {
|
||||
getManaFromPools : {
|
||||
for(int i = -4; i < 5; i++)
|
||||
for(int j = -4; j < 5; j++) {
|
||||
int range = 8;
|
||||
for(int i = -range; i < range + 1; i++)
|
||||
for(int j = -range; j < range + 1; j++) {
|
||||
TileEntity tile = worldObj.getTileEntity(xCoord + i, yCoord, zCoord + j);
|
||||
if(tile instanceof IManaPool) {
|
||||
IManaPool pool = (IManaPool) tile;
|
||||
|
||||
Reference in new issue
Block a user