diff options
Diffstat (limited to 'src/UI/AnvilWindow.h')
-rw-r--r-- | src/UI/AnvilWindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UI/AnvilWindow.h b/src/UI/AnvilWindow.h index 0b9a0e27e..be2ebc039 100644 --- a/src/UI/AnvilWindow.h +++ b/src/UI/AnvilWindow.h @@ -22,7 +22,7 @@ class cAnvilWindow: public: - cAnvilWindow(int a_BlockX, int a_BlockY, int a_BlockZ); + cAnvilWindow(Vector3i a_BlockPos); /** Gets the repaired item name. */ AString GetRepairedItemName(void) const; @@ -31,14 +31,14 @@ public: void SetRepairedItemName(const AString & a_Name, cPlayer * a_Player); /** Gets the Position from the Anvil */ - void GetBlockPos(int & a_PosX, int & a_PosY, int & a_PosZ); + const Vector3i & GetBlockPos() { return m_BlockPos; } virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override; protected: cSlotAreaAnvil * m_AnvilSlotArea; AString m_RepairedItemName; - int m_BlockX, m_BlockY, m_BlockZ; + Vector3i m_BlockPos; }; |