Added the Bergamute

This commit is contained in:
Vincent Lee committed 2016-07-16 16:52:59 -05:00
1 parent 124fdeeee3
commit 7f5d3859e4
26 files changed
+447 -258

No files matched your search

@@ -34,7 +34,7 @@ import java.awt.*;
*/
public class SubTileFunctional extends SubTileEntity {
public static final int RANGE = 10;
public static final int LINK_RANGE = 10;
private static final String TAG_MANA = "mana";
@@ -117,7 +117,7 @@ public class SubTileFunctional extends SubTileEntity {
IManaNetwork network = BotaniaAPI.internalHandler.getManaNetworkInstance();
int size = network.getAllPoolsInWorld(supertile.getWorld()).size();
if(BotaniaAPI.internalHandler.shouldForceCheck() || size != sizeLastCheck) {
linkedPool = network.getClosestPool(supertile.getPos(), supertile.getWorld(), RANGE);
linkedPool = network.getClosestPool(supertile.getPos(), supertile.getWorld(), LINK_RANGE);
sizeLastCheck = size;
}
}