Temp fix for double simulated universe portals

This commit is contained in:
Melledy
2023-10-18 05:41:16 -07:00
parent 345ab7d3e9
commit c52cb773cb

View File

@@ -148,10 +148,16 @@ public class Scene {
prop.setGroupId(group.getId());
prop.setPropInfo(propInfo);
// Hacky fixes
// Cache
if (prop.getPropId() == 1003) {
// Open simulated universe
prop.setState(PropState.Open);
// Hacky fix to open simulated universe
if (propInfo.getMappingInfoID() == 2220) {
// Open simulated universe
prop.setState(PropState.Open);
} else {
// Skip tutorial simulated universe
continue;
}
} else if (prop.getExcel().getPropType() == PropType.PROP_SPRING) {
// Cache teleport anchors
this.getHealingSprings().add(prop);