mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-22 19:05:11 -06:00
Catalytic and Elemental runes to be show as useable runes.
This commit is contained in:
parent
d53e90e702
commit
5861868677
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue