|
|
@ -247,7 +247,9 @@ public class Zone extends AbstractGameObject { |
|
|
|
// Zone AABB is set here as it's coordinate space is world requiring a parent.
|
|
|
|
// Zone AABB is set here as it's coordinate space is world requiring a parent.
|
|
|
|
this.setBounds(); |
|
|
|
this.setBounds(); |
|
|
|
|
|
|
|
|
|
|
|
if (ZoneManager.getSeaFloor().equals(this)) { |
|
|
|
// Seafloor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.parent == null) { |
|
|
|
this.seaLevel = 0; |
|
|
|
this.seaLevel = 0; |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|