Commit 95060d93142ef0bc4d3ba074f23a4502c51615c4

Authored by Mumfrey
1 parent af46a2da

change "key" to "id" in JSON event definitions because "key" was kind of confusing

java/common/com/mumfrey/liteloader/transformers/event/json/JsonDescriptor.java
... ... @@ -19,7 +19,7 @@ public class JsonDescriptor implements Serializable
19 19 /**
20 20 * Key used to refer to this method descriptor elsewhere
21 21 */
22   - @SerializedName("key")
  22 + @SerializedName("id")
23 23 private String key;
24 24  
25 25 /**
... ...
java/common/com/mumfrey/liteloader/transformers/event/json/JsonObf.java
... ... @@ -10,7 +10,7 @@ public class JsonObf implements Serializable
10 10 {
11 11 private static final long serialVersionUID = 1L;
12 12  
13   - @SerializedName("key")
  13 + @SerializedName("id")
14 14 private String key;
15 15  
16 16 @SerializedName("mcp")
... ...