Remove deprecated isNone usages in favor of isWilderness
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user