Updated to work with 1.2, hopefully.

This commit is contained in:
Jacob Brunson
2012-03-04 20:32:19 -06:00
parent b71432ac33
commit 6d15e17bb2
9 changed files with 25 additions and 40 deletions

View File

@ -68,7 +68,7 @@ public class FloodUtil {
// ... And flood away !
for (BlockFace face : expandFaces) {
Block potentialBlock = startBlock.getFace(face);
Block potentialBlock = startBlock.getRelative(face);
foundBlocks = getAirFloodBlocks(potentialBlock, foundBlocks, expandFaces, limit);
}
}