Transcendence skills should not be available in Training Zone.
Thanks to petryxa.
This commit is contained in:
@@ -211,6 +211,11 @@ public class TimedHunting extends AbstractInstance
|
|||||||
|
|
||||||
private void replaceNormalSkills(Player player)
|
private void replaceNormalSkills(Player player)
|
||||||
{
|
{
|
||||||
|
if (player.getInstanceWorld().getTemplateId() == 228) // Training Zone.
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Replace normal skills.
|
// Replace normal skills.
|
||||||
for (Entry<Integer, Integer> entry : SKILL_REPLACEMENTS.entrySet())
|
for (Entry<Integer, Integer> entry : SKILL_REPLACEMENTS.entrySet())
|
||||||
{
|
{
|
||||||
|
@@ -211,6 +211,11 @@ public class TimedHunting extends AbstractInstance
|
|||||||
|
|
||||||
private void replaceNormalSkills(Player player)
|
private void replaceNormalSkills(Player player)
|
||||||
{
|
{
|
||||||
|
if (player.getInstanceWorld().getTemplateId() == 228) // Training Zone.
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Replace normal skills.
|
// Replace normal skills.
|
||||||
for (Entry<Integer, Integer> entry : SKILL_REPLACEMENTS.entrySet())
|
for (Entry<Integer, Integer> entry : SKILL_REPLACEMENTS.entrySet())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user