mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 07:37:43 +00:00
Unlock hidden points (#2016)
This commit is contained in:
parent
668461a6f1
commit
8a5a6ab83e
@ -17,9 +17,11 @@ public class PacketGetScenePointRsp extends BasePacket {
|
||||
if (GameData.getScenePointIdList().size() == 0) {
|
||||
for (int i = 1; i < 1000; i++) {
|
||||
p.addUnlockedPointList(i);
|
||||
p.addUnhidePointList(i);
|
||||
}
|
||||
} else {
|
||||
p.addAllUnlockedPointList(player.getUnlockedScenePoints(sceneId));
|
||||
p.addAllUnhidePointList(player.getUnlockedScenePoints(sceneId));
|
||||
}
|
||||
|
||||
for (int i = 1; i < 9; i++) {
|
||||
|
@ -10,7 +10,8 @@ public class PacketScenePointUnlockNotify extends BasePacket {
|
||||
|
||||
ScenePointUnlockNotify.Builder p = ScenePointUnlockNotify.newBuilder()
|
||||
.setSceneId(sceneId)
|
||||
.addPointList(pointId);
|
||||
.addPointList(pointId)
|
||||
.addUnhidePointList(pointId);
|
||||
|
||||
this.setData(p);
|
||||
}
|
||||
@ -20,7 +21,8 @@ public class PacketScenePointUnlockNotify extends BasePacket {
|
||||
|
||||
ScenePointUnlockNotify.Builder p = ScenePointUnlockNotify.newBuilder()
|
||||
.setSceneId(sceneId)
|
||||
.addAllPointList(pointIds);
|
||||
.addAllPointList(pointIds)
|
||||
.addAllUnhidePointList(pointIds);
|
||||
|
||||
this.setData(p);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user