fix: enchantment table + frost walker (kinda)
fixes: - treasure enchants being selectable within the enchantment table menu - frost walker resemblance to decompiled legacy console edition - enchantment table featuring hot-swappable abilities where the player could replace one tool with another whilst keeping the exact same potential enchantments in the enchant menu
This commit is contained in:
@@ -94,7 +94,7 @@ void Enchantment::staticCtor()
|
||||
for(unsigned int i = 0; i < 256; ++i)
|
||||
{
|
||||
Enchantment *enchantment = enchantments[i];
|
||||
if (enchantment != nullptr && !enchantment->isTreasureEnchantment())
|
||||
if (enchantment != nullptr && !enchantment->isTreasureOnly())
|
||||
{
|
||||
validEnchantments.push_back(enchantment);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user