diff --git a/src/de/craftinc/gates/util/FloodUtil.java b/src/de/craftinc/gates/util/FloodUtil.java index 8f9371d..84280b8 100644 --- a/src/de/craftinc/gates/util/FloodUtil.java +++ b/src/de/craftinc/gates/util/FloodUtil.java @@ -13,7 +13,7 @@ import de.craftinc.gates.Plugin; public class FloodUtil { - private final static int frameBlockSearchLimit = 40; + private final static int frameBlockSearchLimit = 100; private static final Set exp1 = new HashSet(); private static final Set exp2 = new HashSet(); @@ -73,7 +73,7 @@ public class FloodUtil return foundBlocks; } - if (startBlock.getType() == Material.AIR || startBlock.getType() == Material.PORTAL) { + if (startBlock.getType() == Material.AIR) { // ... We found a block :D ... foundBlocks.add(startBlock);