This commit is contained in:
Dylan K. Taylor
2025-04-30 19:52:49 +01:00
parent 1245ee2575
commit ce55183d71
24 changed files with 37 additions and 38 deletions

View File

@ -32,7 +32,7 @@ final class SmithingTable extends Opaque{
public function onInteract(Item $item, int $face, Vector3 $clickVector, ?Player $player = null, array &$returnedItems = []) : bool{
if($player !== null){
$player->setCurrentWindow(new SmithingTableInventoryWindow($player, $this));
$player->setCurrentWindow(new SmithingTableInventoryWindow($player, $this->position));
}
return true;