Catalytic and Elemental runes to be show as useable runes.

This commit is contained in:
Tooze 2026-02-20 22:39:20 -05:00
parent d53e90e702
commit 5861868677

View file

@ -9,6 +9,7 @@ import java.util.Map;
import java.util.Objects;
import static core.api.ContentAPIKt.setVarbit;
import static core.api.ContentAPIKt.setVarp;
/**
* Represents a managing class of a players spell book.
@ -45,6 +46,8 @@ public final class SpellBookManager {
public void update(Player player) {
player.getInterfaceManager().openTab(new Component(spellBook));
setVarbit(player, 357, Objects.requireNonNull(SpellBook.forInterface(spellBook)).ordinal());
// Allows Catalytic and Elemental runes to be show as useable runes.
setVarp(player,1331, 1);
}
/**