forked from MagicBane/Server
Add y offset to zone altitude.
This commit is contained in:
@@ -477,6 +477,9 @@ public enum ZoneManager {
|
|||||||
|
|
||||||
worldAlttitude = HeightMap.getWorldHeight(parentZone, zone.getLoc());
|
worldAlttitude = HeightMap.getWorldHeight(parentZone, zone.getLoc());
|
||||||
|
|
||||||
|
// Add zone offset to value
|
||||||
|
worldAlttitude += zone.getYCoord();
|
||||||
|
|
||||||
return worldAlttitude;
|
return worldAlttitude;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user