Code improvements.

Contributed by Mathael.
This commit is contained in:
MobiusDev
2016-03-28 10:39:18 +00:00
parent fdafe7447e
commit 901d2a858b
10 changed files with 92 additions and 178 deletions

View File

@@ -87,7 +87,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable
private String _areaName;
private int _globalMapId;
private String _title = "";
private final String _title = "";
/** The task launching the function doSpawn() */
class SpawnTask implements Runnable
@@ -694,10 +694,6 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable
mob.setTitle(_title);
}
// Reset summoner
mob.setSummoner(null);
// Reset summoned list