mirror of
https://github.com/Anime-Game-Servers/AnimeGamesLua.git
synced 2024-11-26 22:00:32 +00:00
[Fix] Made SceneObject/SceneTrigger.groupId non transient, to identify trigger from specific groups, that have the same config
This commit is contained in:
parent
4eb2f17797
commit
9d28dcdbd3
@ -34,7 +34,7 @@ public abstract class SceneObject {
|
|||||||
/**
|
/**
|
||||||
* not set by lua
|
* not set by lua
|
||||||
*/
|
*/
|
||||||
protected transient int groupId;
|
protected int groupId;
|
||||||
protected transient int blockId;
|
protected transient int blockId;
|
||||||
protected transient SceneMeta sceneMeta;
|
protected transient SceneMeta sceneMeta;
|
||||||
|
|
||||||
|
@ -28,7 +28,8 @@ public class SceneTrigger {
|
|||||||
@LuaNames("forbid_guest")
|
@LuaNames("forbid_guest")
|
||||||
private boolean forbid_guest = true;
|
private boolean forbid_guest = true;
|
||||||
|
|
||||||
private transient int groupId;
|
// not directly part of the lua table
|
||||||
|
private int groupId;
|
||||||
private transient int blockId;
|
private transient int blockId;
|
||||||
private transient SceneMeta sceneMeta;
|
private transient SceneMeta sceneMeta;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user