Remove deprecated isNone usages in favor of isWilderness

This commit is contained in:
drtshock
2015-09-08 11:46:48 -05:00
parent 088c6e11b1
commit 4414b1589f
12 changed files with 29 additions and 29 deletions

View File

@@ -77,7 +77,7 @@ public class CmdStuck extends FCommand {
public boolean work() {
FLocation chunk = currentFLocation();
Faction faction = board.getFactionAt(chunk);
if (faction.isNone()) {
if (faction.isWilderness()) {
int cx = FLocation.chunkToBlock((int) chunk.getX());
int cz = FLocation.chunkToBlock((int) chunk.getZ());
int y = world.getHighestBlockYAt(cx, cz);