mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-16 12:21:35 +01:00
Renamed method to isWaterUnsafe to sound better.
This commit is contained in:
parent
720e6bbe6b
commit
4f5b6a25b6
@ -1585,7 +1585,7 @@ public class Settings implements DataObject, WorldSettings {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isWaterNotSafe() {
|
||||
public boolean isWaterUnsafe() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user