Use try for CreatureFollowTaskManager as original method did.
This commit is contained in:
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,8 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
|
||||
private void follow(Creature creature, int range)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (creature.hasAI())
|
||||
{
|
||||
@@ -118,6 +120,11 @@ public class CreatureFollowTaskManager
|
||||
remove(creature);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
}
|
||||
|
||||
public void addNormalFollow(Creature creature, int range)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user