forked from MagicBane/Server
Method moved to manager.
This commit is contained in:
@@ -351,14 +351,6 @@ public class HeightMap {
|
||||
|
||||
}
|
||||
|
||||
public static boolean isLocUnderwater(Vector3fImmutable currentLoc) {
|
||||
|
||||
float localAltitude = HeightMap.getWorldHeight(currentLoc);
|
||||
Zone zone = ZoneManager.findSmallestZone(currentLoc);
|
||||
|
||||
return localAltitude < zone.getSeaLevel();
|
||||
}
|
||||
|
||||
private static void generatePixelData(HeightMap heightMap) {
|
||||
|
||||
Color color;
|
||||
|
||||
Reference in New Issue
Block a user