diff --git a/core/src/main/java/com/boydti/fawe/object/change/MutableEntityChange.java b/core/src/main/java/com/boydti/fawe/object/change/MutableEntityChange.java index fcbdf5cf..9b9a572c 100644 --- a/core/src/main/java/com/boydti/fawe/object/change/MutableEntityChange.java +++ b/core/src/main/java/com/boydti/fawe/object/change/MutableEntityChange.java @@ -95,7 +95,12 @@ public class MutableEntityChange implements Change { public void perform(FaweQueue queue) { Map map = tag.getValue(); - List pos = (List) map.get("Pos").getValue(); + Tag posTag = map.get("Pos"); + if (posTag == null) { + Fawe.debug("Missing pos tag: " + tag); + return; + } + List pos = (List) posTag.getValue(); int x = (int) Math.round(pos.get(0).getValue()); int y = (int) Math.round(pos.get(1).getValue()); int z = (int) Math.round(pos.get(2).getValue());