mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-01 05:21:32 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -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