diff options
author | 12xx12 <12xx12100@gmail.com> | 2020-09-17 16:16:20 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-20 02:40:20 +0200 |
commit | f8de67aace4e65ff4c34a1f46f6d8b258b6839aa (patch) | |
tree | 51f60dd89e5abb7bcf14e11f087ef2d49c1fa096 /src/UI | |
parent | Fixed missing case: in entity damaging crashin the server (#4899) (diff) | |
download | cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.gz cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.bz2 cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.lz cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.xz cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.zst cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.zip |
Diffstat (limited to 'src/UI')
-rw-r--r-- | src/UI/EnchantingWindow.cpp | 4 | ||||
-rw-r--r-- | src/UI/EnchantingWindow.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/UI/EnchantingWindow.cpp b/src/UI/EnchantingWindow.cpp index a3abf3a02..4ce4bebb3 100644 --- a/src/UI/EnchantingWindow.cpp +++ b/src/UI/EnchantingWindow.cpp @@ -11,8 +11,8 @@ -cEnchantingWindow::cEnchantingWindow(Vector3i a_BlockPos) : - cWindow(wtEnchantment, "Enchant"), +cEnchantingWindow::cEnchantingWindow(Vector3i a_BlockPos, const AString & a_Title) : + cWindow(wtEnchantment, a_Title), m_SlotArea(), m_BlockPos(a_BlockPos) { diff --git a/src/UI/EnchantingWindow.h b/src/UI/EnchantingWindow.h index 5807d097e..4de5ed00c 100644 --- a/src/UI/EnchantingWindow.h +++ b/src/UI/EnchantingWindow.h @@ -22,7 +22,7 @@ class cEnchantingWindow: public: - cEnchantingWindow(Vector3i a_BlockPos); + cEnchantingWindow(Vector3i a_BlockPos, const AString & a_Title); virtual void SetProperty(short a_Property, short a_Value, cPlayer & a_Player) override; |