summaryrefslogtreecommitdiffstats
path: root/src/UI/SlotArea.h
diff options
context:
space:
mode:
authorMaxwellScroggs <66567983+MaxwellScroggs@users.noreply.github.com>2020-07-04 23:49:17 +0200
committerGitHub <noreply@github.com>2020-07-04 23:49:17 +0200
commit5cdaf073be015a99e87dde4540405a69ff56eb47 (patch)
treea8730b445ea9620a603f21008c583412d6775cf2 /src/UI/SlotArea.h
parentMerged trivial item handlers into cSimplePlaceableItemHandler (#4766) (diff)
downloadcuberite-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/UI/SlotArea.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h
index a744fea2c..86c0afd51 100644
--- a/src/UI/SlotArea.h
+++ b/src/UI/SlotArea.h
@@ -381,7 +381,7 @@ class cSlotAreaEnchanting:
public:
- cSlotAreaEnchanting(cWindow & a_ParentWindow, int a_BlockX, int a_BlockY, int a_BlockZ);
+ cSlotAreaEnchanting(cWindow & a_ParentWindow, Vector3i a_BlockPos);
// cSlotArea overrides:
virtual void Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_ClickAction, const cItem & a_ClickedItem) override;
@@ -399,7 +399,7 @@ protected:
/** Handles a click in the item slot. */
void UpdateResult(cPlayer & a_Player);
- int m_BlockX, m_BlockY, m_BlockZ;
+ Vector3i m_BlockPos;
};