fix: fixed wrong JSON key in EventDeserializer
This commit is contained in:
parent
173fc70c3b
commit
57c27de006
@ -73,7 +73,7 @@ public class EventDeserializer extends JsonDeserializer<Event> {
|
|||||||
|
|
||||||
builder.withTargetEntity(unwrap(node.get("targetEntity"), EntityID.class, codec))
|
builder.withTargetEntity(unwrap(node.get("targetEntity"), EntityID.class, codec))
|
||||||
.withTargetField(unwrap(node.get("targetField"), IntVector2.class, codec))
|
.withTargetField(unwrap(node.get("targetField"), IntVector2.class, codec))
|
||||||
.withAmount(unwrap(node.get("targetField"), Integer.class, codec))
|
.withAmount(unwrap(node.get("amount"), Integer.class, codec))
|
||||||
.withEntity(unwrap(node.get("entity"), Entity.class, codec))
|
.withEntity(unwrap(node.get("entity"), Entity.class, codec))
|
||||||
|
|
||||||
.withOriginEntity(unwrap(node.get("originEntity"), EntityID.class, codec))
|
.withOriginEntity(unwrap(node.get("originEntity"), EntityID.class, codec))
|
||||||
|
Loading…
Reference in New Issue
Block a user