Transcendence skills should not be available in Training Zone.

Thanks to petryxa.
This commit is contained in:
MobiusDevelopment 2022-12-13 07:13:42 +00:00
parent b75313b521
commit 3f455121ef
2 changed files with 10 additions and 0 deletions

View File

@ -211,6 +211,11 @@ public class TimedHunting extends AbstractInstance
private void replaceNormalSkills(Player player)
{
if (player.getInstanceWorld().getTemplateId() == 228) // Training Zone.
{
return;
}
// Replace normal skills.
for (Entry<Integer, Integer> entry : SKILL_REPLACEMENTS.entrySet())
{

View File

@ -211,6 +211,11 @@ public class TimedHunting extends AbstractInstance
private void replaceNormalSkills(Player player)
{
if (player.getInstanceWorld().getTemplateId() == 228) // Training Zone.
{
return;
}
// Replace normal skills.
for (Entry<Integer, Integer> entry : SKILL_REPLACEMENTS.entrySet())
{