forked from MagicBane/Server
Sea level logic updated.
This commit is contained in:
@@ -247,7 +247,9 @@ public class Zone extends AbstractGameObject {
|
||||
// Zone AABB is set here as it's coordinate space is world requiring a parent.
|
||||
this.setBounds();
|
||||
|
||||
if (ZoneManager.getSeaFloor().equals(this)) {
|
||||
// Seafloor
|
||||
|
||||
if (this.parent == null) {
|
||||
this.seaLevel = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user