aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/CompoundContainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/CompoundContainer.h')
-rw-r--r--Minecraft.World/CompoundContainer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/CompoundContainer.h b/Minecraft.World/CompoundContainer.h
index 126a712a..906a0618 100644
--- a/Minecraft.World/CompoundContainer.h
+++ b/Minecraft.World/CompoundContainer.h
@@ -24,7 +24,7 @@ public:
virtual shared_ptr<ItemInstance> removeItem(unsigned int slot, int i);
virtual shared_ptr<ItemInstance> removeItemNoUpdate(int slot);
virtual void setItem(unsigned int slot, shared_ptr<ItemInstance> item);
- virtual int getMaxStackSize();
+ virtual int getMaxStackSize() const;
virtual void setChanged();
virtual bool stillValid(shared_ptr<Player> player);