Skip to content

Commit

Permalink
Schematic rotate: fix wrong entity angle
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 30, 2021
1 parent d60a7b6 commit 765f9ff
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -206,7 +206,7 @@ public void pasteEntities(LocationTag relative) {
}
}
Location spawnLoc = relative.clone().add(offset);
spawnLoc.setYaw(offset.getYaw() + rotation);
spawnLoc.setYaw(offset.getYaw() - rotation);
spawnLoc.setPitch(offset.getPitch());
entity.spawnAt(spawnLoc);
}
Expand Down

0 comments on commit 765f9ff

Please sign in to comment.