mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-06 20:53:39 +08:00
Fix no static gadget in the map,example: no tree but a fruit in the air (#1415)
* fixGadget * fixGadget * add gadgetObject * fix bug
This commit is contained in:
committed by
GitHub
Unverified
parent
b703201598
commit
f90b65120a
@@ -12,9 +12,10 @@ public class SpawnDataEntry {
|
||||
private int level;
|
||||
private int poseId;
|
||||
private int gatherItemId;
|
||||
private int gadgetState;
|
||||
private Position pos;
|
||||
private Position rot;
|
||||
|
||||
|
||||
public SpawnGroupEntry getGroup() {
|
||||
return group;
|
||||
}
|
||||
@@ -26,23 +27,27 @@ public class SpawnDataEntry {
|
||||
public int getMonsterId() {
|
||||
return monsterId;
|
||||
}
|
||||
|
||||
|
||||
public int getGadgetId() {
|
||||
return gadgetId;
|
||||
}
|
||||
|
||||
public int getConfigId() {
|
||||
public int getGadgetState() {
|
||||
return gadgetState;
|
||||
}
|
||||
|
||||
public int getConfigId() {
|
||||
return configId;
|
||||
}
|
||||
|
||||
|
||||
public int getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
|
||||
public int getPoseId() {
|
||||
return poseId;
|
||||
}
|
||||
|
||||
|
||||
public int getGatherItemId() {
|
||||
return gatherItemId;
|
||||
}
|
||||
@@ -50,18 +55,18 @@ public class SpawnDataEntry {
|
||||
public Position getPos() {
|
||||
return pos;
|
||||
}
|
||||
|
||||
|
||||
public Position getRot() {
|
||||
return rot;
|
||||
}
|
||||
|
||||
|
||||
public static class SpawnGroupEntry {
|
||||
private int sceneId;
|
||||
private int groupId;
|
||||
private int blockId;
|
||||
private Position pos;
|
||||
private List<SpawnDataEntry> spawns;
|
||||
|
||||
|
||||
public int getSceneId() {
|
||||
return sceneId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user