chore: format Minecraft.World
This commit is contained in:
1 parent
bd6284025d
commit
33d0737d1d
1511 files changed
+108599
-115459
No files matched your search
@@ -2,16 +2,10 @@
|
||||
|
||||
#include "BookItem.h"
|
||||
|
||||
BookItem::BookItem(int id) : Item(id)
|
||||
{
|
||||
BookItem::BookItem(int id) : Item(id) {}
|
||||
|
||||
bool BookItem::isEnchantable(std::shared_ptr<ItemInstance> itemInstance) {
|
||||
return itemInstance->count == 1;
|
||||
}
|
||||
|
||||
bool BookItem::isEnchantable(std::shared_ptr<ItemInstance> itemInstance)
|
||||
{
|
||||
return itemInstance->count == 1;
|
||||
}
|
||||
|
||||
int BookItem::getEnchantmentValue()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
int BookItem::getEnchantmentValue() { return 1; }
|
||||
Reference in new issue
Block a user