From 585dc835e7c50f49e301d41d055821987fb62e5d Mon Sep 17 00:00:00 2001 From: ipad54 <63200545+ipad54@users.noreply.github.com> Date: Tue, 13 Aug 2024 18:19:07 +0300 Subject: [PATCH] Fixed anvil placing rotation. (#6375) Co-authored-by: IvanCraft623 <57236932+IvanCraft623@users.noreply.github.com> --- src/block/Anvil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block/Anvil.php b/src/block/Anvil.php index 916c390ef..4b4afef61 100644 --- a/src/block/Anvil.php +++ b/src/block/Anvil.php @@ -91,7 +91,7 @@ class Anvil extends Transparent implements Fallable{ public function place(BlockTransaction $tx, Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, ?Player $player = null) : bool{ if($player !== null){ - $this->facing = Facing::rotateY($player->getHorizontalFacing(), true); + $this->facing = Facing::rotateY($player->getHorizontalFacing(), false); } return parent::place($tx, $item, $blockReplace, $blockClicked, $face, $clickVector, $player); }