diff options
Diffstat (limited to 'Minecraft.World/Slot.h')
| -rw-r--r-- | Minecraft.World/Slot.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Minecraft.World/Slot.h b/Minecraft.World/Slot.h index 6289ec0e..70f9a3c3 100644 --- a/Minecraft.World/Slot.h +++ b/Minecraft.World/Slot.h @@ -31,11 +31,12 @@ public: virtual bool hasItem(); virtual void set(shared_ptr<ItemInstance> item); virtual void setChanged(); - virtual int getMaxStackSize(); + virtual int getMaxStackSize() const; virtual Icon *getNoItemIcon(); virtual shared_ptr<ItemInstance> remove(int c); virtual bool isAt(shared_ptr<Container> c, int s); virtual bool mayPickup(shared_ptr<Player> player); + virtual bool isActive(); virtual bool mayCombine(shared_ptr<ItemInstance> item); // 4J Added virtual shared_ptr<ItemInstance> combine(shared_ptr<ItemInstance> item); // 4J Added };
\ No newline at end of file |
