summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockEnchantmentTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockEnchantmentTable.h')
-rw-r--r--src/Blocks/BlockEnchantmentTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockEnchantmentTable.h b/src/Blocks/BlockEnchantmentTable.h
index a981cf7a7..48560451b 100644
--- a/src/Blocks/BlockEnchantmentTable.h
+++ b/src/Blocks/BlockEnchantmentTable.h
@@ -34,7 +34,7 @@ public:
const Vector3i a_CursorPos
) override
{
- cWindow * Window = new cEnchantingWindow(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z);
+ cWindow * Window = new cEnchantingWindow(a_BlockPos);
a_Player.OpenWindow(*Window);
return true;
}