Browse Source

force load changes meshes

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
974c0ca7e8
  1. 2
      src/engine/objects/Mine.java

2
src/engine/objects/Mine.java

@ -675,11 +675,13 @@ public class Mine extends AbstractGameObject {
oldBuildings.put(building.getObjectUUID(),building.meshUUID); oldBuildings.put(building.getObjectUUID(),building.meshUUID);
building.setMeshUUID(407650); building.setMeshUUID(407650);
building.setMeshScale(new Vector3f(0,0,0)); building.setMeshScale(new Vector3f(0,0,0));
InterestManager.setObjectDirty(building);
} }
//update tower to become stronghold mesh //update tower to become stronghold mesh
tower.setMeshUUID(5001500); tower.setMeshUUID(5001500);
tower.setMeshScale(new Vector3f(1,1,1)); tower.setMeshScale(new Vector3f(1,1,1));
InterestManager.setObjectDirty(tower);
//create elite mobs //create elite mobs
for(int i = 0; i < 15; i++){ for(int i = 0; i < 15; i++){

Loading…
Cancel
Save