diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ingame/deserialize/EventDeserializer.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ingame/deserialize/EventDeserializer.java index 9e464ca..d80b9ec 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ingame/deserialize/EventDeserializer.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ingame/deserialize/EventDeserializer.java @@ -73,7 +73,7 @@ public class EventDeserializer extends JsonDeserializer { builder.withTargetEntity(unwrap(node.get("targetEntity"), EntityID.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)) .withOriginEntity(unwrap(node.get("originEntity"), EntityID.class, codec))