aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Slot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/Slot.cpp')
-rw-r--r--Minecraft.World/Slot.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Minecraft.World/Slot.cpp b/Minecraft.World/Slot.cpp
index 30fd9125..c7d1a029 100644
--- a/Minecraft.World/Slot.cpp
+++ b/Minecraft.World/Slot.cpp
@@ -116,6 +116,11 @@ bool Slot::mayPickup(shared_ptr<Player> player)
return true;
}
+bool Slot::isActive()
+{
+ return true;
+}
+
bool Slot::mayCombine(shared_ptr<ItemInstance> second)
{
shared_ptr<ItemInstance> first = getItem();