Commit 95060d93142ef0bc4d3ba074f23a4502c51615c4
1 parent
af46a2da
change "key" to "id" in JSON event definitions because "key" was kind of confusing
Showing
2 changed files
with
2 additions
and
2 deletions
java/common/com/mumfrey/liteloader/transformers/event/json/JsonDescriptor.java
@@ -19,7 +19,7 @@ public class JsonDescriptor implements Serializable | @@ -19,7 +19,7 @@ public class JsonDescriptor implements Serializable | ||
19 | /** | 19 | /** |
20 | * Key used to refer to this method descriptor elsewhere | 20 | * Key used to refer to this method descriptor elsewhere |
21 | */ | 21 | */ |
22 | - @SerializedName("key") | 22 | + @SerializedName("id") |
23 | private String key; | 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,7 +10,7 @@ public class JsonObf implements Serializable | ||
10 | { | 10 | { |
11 | private static final long serialVersionUID = 1L; | 11 | private static final long serialVersionUID = 1L; |
12 | 12 | ||
13 | - @SerializedName("key") | 13 | + @SerializedName("id") |
14 | private String key; | 14 | private String key; |
15 | 15 | ||
16 | @SerializedName("mcp") | 16 | @SerializedName("mcp") |