Renamed method to isWaterUnsafe to sound better.

This commit is contained in:
tastybento 2018-07-17 18:50:42 -07:00
parent 720e6bbe6b
commit 4f5b6a25b6
3 changed files with 3 additions and 3 deletions

View File

@ -1585,7 +1585,7 @@ public class Settings implements DataObject, WorldSettings {
}
@Override
public boolean isWaterNotSafe() {
public boolean isWaterUnsafe() {
return false;
}

View File

@ -229,5 +229,5 @@ public interface WorldSettings {
/**
* @return true if water is not safe in this world, e.g, should not be a home location
*/
boolean isWaterNotSafe();
boolean isWaterUnsafe();
}

View File

@ -723,6 +723,6 @@ public class IslandWorldManager {
* @return true if water is not safe, e.g.for home locations
*/
public boolean isWaterNotSafe(World world) {
return worldSettings.get(Util.getWorld(world)).isWaterNotSafe();
return worldSettings.get(Util.getWorld(world)).isWaterUnsafe();
}
}