forked from MagicBane/Server
Modified sequencing
This commit is contained in:
@@ -68,7 +68,7 @@ public class Terrain {
|
|||||||
// Zones with a zero blend inherit from their parent terrain
|
// Zones with a zero blend inherit from their parent terrain
|
||||||
|
|
||||||
if (this.zone.template.max_blend == 0) {
|
if (this.zone.template.max_blend == 0) {
|
||||||
Zone parentZone = this.getNextZoneWithTerrain(this.zone);
|
Zone parentZone = this.getNextZoneWithTerrain(this.zone.parent);
|
||||||
max_blend = parentZone.template.max_blend;
|
max_blend = parentZone.template.max_blend;
|
||||||
min_blend = parentZone.template.min_blend;
|
min_blend = parentZone.template.min_blend;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user