StaticService can now use mobileTemplates

Just put a mobileTemplate in place of the objectTemplate.
This commit is contained in:
Treeku
2014-05-04 23:22:15 +01:00
parent 966f207d10
commit a5ee3ff2b4
4 changed files with 13 additions and 26 deletions
@@ -172,7 +172,6 @@ public class CreatureObject extends TangibleObject implements Serializable {
@NotPersistent
private transient ScheduledFuture<?> spectatorTask;
private boolean staticNPC = false; // temp
@NotPersistent
private transient int flourishCount = 0;
@NotPersistent
@@ -1488,14 +1487,6 @@ public class CreatureObject extends TangibleObject implements Serializable {
getClient().getSession().write(new PlayMusicMessage(sndFile, targetId, 1, false));
}
public boolean getStaticNPC() {
return staticNPC;
}
public boolean setStaticNPC(boolean staticNPC) {
return this.staticNPC = staticNPC;
}
public boolean getGroupDance() {
synchronized(objectMutex) {
return groupDance;