mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 21:40:27 -07:00
Code Cleanup - Wizards Guild uses ContentAPI now.
This commit is contained in:
parent
0b0f4f81ac
commit
8f9af6b4c4
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package core.game.content.activity.guild;
|
||||
|
||||
import api.ContentAPI;
|
||||
import core.cache.def.impl.NPCDefinition;
|
||||
import core.cache.def.impl.SceneryDefinition;
|
||||
import core.game.content.dialogue.DialoguePlugin;
|
||||
|
|
@ -60,7 +61,7 @@ public final class WizardGuildPlugin extends OptionHandler {
|
|||
switch (id) {
|
||||
case 1600:
|
||||
case 1601:
|
||||
if (player.getSkills().getLevel(Skills.MAGIC) < 66) {
|
||||
if (ContentAPI.getDynLevel(player, Skills.MAGIC) < 66) {
|
||||
player.getDialogueInterpreter().sendDialogue("You need a Magic level of at least 66 to enter.");
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue