diff options
author | MaxwellScroggs <66567983+MaxwellScroggs@users.noreply.github.com> | 2020-07-04 23:49:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 23:49:17 +0200 |
commit | 5cdaf073be015a99e87dde4540405a69ff56eb47 (patch) | |
tree | a8730b445ea9620a603f21008c583412d6775cf2 /src/Blocks | |
parent | Merged trivial item handlers into cSimplePlaceableItemHandler (#4766) (diff) | |
download | cuberite-5cdaf073be015a99e87dde4540405a69ff56eb47.tar cuberite-5cdaf073be015a99e87dde4540405a69ff56eb47.tar.gz cuberite-5cdaf073be015a99e87dde4540405a69ff56eb47.tar.bz2 cuberite-5cdaf073be015a99e87dde4540405a69ff56eb47.tar.lz cuberite-5cdaf073be015a99e87dde4540405a69ff56eb47.tar.xz cuberite-5cdaf073be015a99e87dde4540405a69ff56eb47.tar.zst cuberite-5cdaf073be015a99e87dde4540405a69ff56eb47.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockAnvil.h | 2 | ||||
-rw-r--r-- | src/Blocks/BlockEnchantmentTable.h | 2 | ||||
-rw-r--r-- | src/Blocks/BlockWorkbench.h | 2 |
3 files changed, 3 insertions, 3 deletions
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; } 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; } diff --git a/src/Blocks/BlockWorkbench.h b/src/Blocks/BlockWorkbench.h index 608754158..19bf551dd 100644 --- a/src/Blocks/BlockWorkbench.h +++ b/src/Blocks/BlockWorkbench.h @@ -34,7 +34,7 @@ public: const Vector3i a_CursorPos ) override { - cWindow * Window = new cCraftingWindow(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z); + cWindow * Window = new cCraftingWindow(); a_Player.OpenWindow(*Window); return true; } |