From 5cdaf073be015a99e87dde4540405a69ff56eb47 Mon Sep 17 00:00:00 2001 From: MaxwellScroggs <66567983+MaxwellScroggs@users.noreply.github.com> Date: Sat, 4 Jul 2020 17:49:17 -0400 Subject: cWindow: Convert XYZ to Vector3 (#4764) --- src/Blocks/BlockAnvil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Blocks/BlockAnvil.h') diff --git a/src/Blocks/BlockAnvil.h b/src/Blocks/BlockAnvil.h index ad6d216cd..927d55786 100644 --- a/src/Blocks/BlockAnvil.h +++ b/src/Blocks/BlockAnvil.h @@ -44,7 +44,7 @@ public: const Vector3i a_CursorPos ) override { - cWindow * Window = new cAnvilWindow(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z); + cWindow * Window = new cAnvilWindow(a_BlockPos); a_Player.OpenWindow(*Window); return true; } -- cgit v1.2.3