mirror of
https://github.com/Anime-Game-Servers/AnimeGamesLua.git
synced 2024-11-23 04:19:41 +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
|
||||
*/
|
||||
protected transient int groupId;
|
||||
protected int groupId;
|
||||
protected transient int blockId;
|
||||
protected transient SceneMeta sceneMeta;
|
||||
|
||||
|
@ -28,7 +28,8 @@ public class SceneTrigger {
|
||||
@LuaNames("forbid_guest")
|
||||
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 SceneMeta sceneMeta;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user