diff --git a/src/main/java/net/rptools/maptool/server/Mapper.java b/src/main/java/net/rptools/maptool/server/Mapper.java index fe39bc7f6c..975b67249b 100644 --- a/src/main/java/net/rptools/maptool/server/Mapper.java +++ b/src/main/java/net/rptools/maptool/server/Mapper.java @@ -324,7 +324,7 @@ public static ScriptTypeDto mapToScriptTypeDto(Object o) { } public static IntPointDto map(Dimension d) { - return IntPointDto.newBuilder().setY(d.width).setY(d.height).build(); + return IntPointDto.newBuilder().setX(d.width).setY(d.height).build(); } public static BasicStroke map(StrokeDto dto) {