Removed Npc hasListener method.
This commit is contained in:
parent
e91f6902dd
commit
f4fa6dcd9f
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1512,12 +1512,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1512,12 +1512,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1751,12 +1751,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1751,12 +1751,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1511,12 +1511,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1523,12 +1523,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1523,12 +1523,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1523,12 +1523,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1495,12 +1495,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1524,12 +1524,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
@ -1524,12 +1524,6 @@ public class Npc extends Creature
|
|||||||
return vars != null ? vars : addScript(new NpcVariables());
|
return vars != null ? vars : addScript(new NpcVariables());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasListener(EventType type)
|
|
||||||
{
|
|
||||||
return getTemplate().hasListener(type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an "event" to all NPCs within given radius
|
* Send an "event" to all NPCs within given radius
|
||||||
* @param eventName - name of event
|
* @param eventName - name of event
|
||||||
|
Loading…
Reference in New Issue
Block a user