fix: neoapps dysfunctional build script
This commit is contained in:
@@ -78,7 +78,7 @@ void AnvilMenu::createResult()
|
||||
|
||||
if (addition != nullptr)
|
||||
{
|
||||
usingBook = addition->id == Item::enchantedBook_Id && Item::enchantedBook->getEnchantments(addition)->size() > 0;
|
||||
usingBook = addition->id == Item::enchanted_book_Id && Item::enchanted_book->getEnchantments(addition)->size() > 0;
|
||||
|
||||
if (result->isDamageableItem() && Item::items[result->id]->isValidRepairItem(input, addition))
|
||||
{
|
||||
@@ -147,7 +147,7 @@ void AnvilMenu::createResult()
|
||||
int extra = level - current;
|
||||
bool compatible = enchantment->canEnchant(input);
|
||||
|
||||
if (player->abilities.instabuild || input->id == EnchantedBookItem::enchantedBook_Id) compatible = true;
|
||||
if (player->abilities.instabuild || input->id == EnchantedBookItem::enchanted_book_Id) compatible = true;
|
||||
|
||||
for (auto& it2 : *enchantments)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user