mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-15 14:54:43 +01:00
Temp fix for double simulated universe portals
This commit is contained in:
@@ -148,10 +148,16 @@ public class Scene {
|
|||||||
prop.setGroupId(group.getId());
|
prop.setGroupId(group.getId());
|
||||||
prop.setPropInfo(propInfo);
|
prop.setPropInfo(propInfo);
|
||||||
|
|
||||||
// Hacky fixes
|
// Cache
|
||||||
if (prop.getPropId() == 1003) {
|
if (prop.getPropId() == 1003) {
|
||||||
// Open simulated universe
|
// Hacky fix to open simulated universe
|
||||||
prop.setState(PropState.Open);
|
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) {
|
} else if (prop.getExcel().getPropType() == PropType.PROP_SPRING) {
|
||||||
// Cache teleport anchors
|
// Cache teleport anchors
|
||||||
this.getHealingSprings().add(prop);
|
this.getHealingSprings().add(prop);
|
||||||
|
|||||||
Reference in New Issue
Block a user