Skip to content

Commit

Permalink
fix location.facing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 13, 2021
1 parent 557f6dc commit dc4cb78
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1875,7 +1875,7 @@ public static void registerTags() {
int degrees = 45;
LocationTag facingLoc;
if (LocationTag.matches(attribute.getContext(1))) {
facingLoc = object.clone();
facingLoc = attribute.contextAsType(1, LocationTag.class);
}
else if (EntityTag.matches(attribute.getContext(1))) {
facingLoc = attribute.contextAsType(1, EntityTag.class).getLocation();
Expand Down

0 comments on commit dc4cb78

Please sign in to comment.