Skip to content

Commit be535d0

Browse files
committed
Fix 1.205 and 1.21 compatible
1 parent 0726578 commit be535d0

File tree

1 file changed

+1
-1
lines changed
  • worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard

1 file changed

+1
-1
lines changed

worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ default void paste(Extent extent, BlockVector3 to, boolean pasteAir, boolean pas
438438
if (entity.getType().equals(EntityTypes.LEASH_KNOT)) {
439439
var state = entity.getState();
440440
var nbtData = new HashMap<>(state.getNbtData().getValue());
441-
var posAsMap = new HashMap<String, Tag>();
441+
var posAsMap = new HashMap<String, Tag<?, ?>>();
442442
posAsMap.put("X", new IntTag(pos.getBlockX()));
443443
posAsMap.put("Y", new IntTag(pos.getBlockY()));
444444
posAsMap.put("Z", new IntTag(pos.getBlockZ()));

0 commit comments

Comments
 (0)