diff options
Diffstat (limited to 'Minecraft.World/EnchantmentSlot.h')
| -rw-r--r-- | Minecraft.World/EnchantmentSlot.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/EnchantmentSlot.h b/Minecraft.World/EnchantmentSlot.h index 590d9e31..c8615288 100644 --- a/Minecraft.World/EnchantmentSlot.h +++ b/Minecraft.World/EnchantmentSlot.h @@ -10,7 +10,7 @@ class Container; class EnchantmentSlot : public Slot { public: - EnchantmentSlot(shared_ptr<Container> container, int id, int x, int y) : Slot(container,id, x, y) {} - virtual bool mayPlace(shared_ptr<ItemInstance> item) {return true;} - virtual bool mayCombine(shared_ptr<ItemInstance> item) {return false;} // 4J Added + EnchantmentSlot(std::shared_ptr<Container> container, int id, int x, int y) : Slot(container,id, x, y) {} + virtual bool mayPlace(std::shared_ptr<ItemInstance> item) {return true;} + virtual bool mayCombine(std::shared_ptr<ItemInstance> item) {return false;} // 4J Added };
\ No newline at end of file |
