mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 13:30:27 -07:00
Adding more tests
This commit is contained in:
parent
4f043d217c
commit
fc7be0922b
1 changed files with 2 additions and 2 deletions
|
|
@ -392,7 +392,7 @@ public final class HouseManager {
|
||||||
|
|
||||||
if (hasDungeon()) {
|
if (hasDungeon()) {
|
||||||
dungeonRegion = getPreparedRegion();
|
dungeonRegion = getPreparedRegion();
|
||||||
prepareDungeonChunks(style, dungeonRegion, buildingMode, houseRegion, rooms[3]);
|
prepareDungeonChunks(style, dungeonRegion, houseRegion, buildingMode, rooms[3]);
|
||||||
}
|
}
|
||||||
|
|
||||||
ZoneBuilder.configure(zone);
|
ZoneBuilder.configure(zone);
|
||||||
|
|
@ -436,7 +436,7 @@ public final class HouseManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void prepareDungeonChunks(HousingStyle style, DynamicRegion target, boolean buildingMode, DynamicRegion house, Room[][] rooms) {
|
private void prepareDungeonChunks(HousingStyle style, DynamicRegion target, DynamicRegion house, boolean buildingMode, Room[][] rooms) {
|
||||||
Region from = RegionManager.forId(style.getRegionId());
|
Region from = RegionManager.forId(style.getRegionId());
|
||||||
Region.load(from, true);
|
Region.load(from, true);
|
||||||
RegionChunk defaultChunk = from.getPlanes()[style.getPlane()].getRegionChunk(3, 0);
|
RegionChunk defaultChunk = from.getPlanes()[style.getPlane()].getRegionChunk(3, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue