Overhauled Mounts (still buggy)

This commit is contained in:
Treeku
2014-04-18 19:09:45 +01:00
parent db3f0368a0
commit f58b7b6a5b
18 changed files with 1058 additions and 173 deletions
@@ -54,7 +54,7 @@ import engine.resources.scene.Planet;
import engine.resources.scene.Point3D;
import engine.resources.scene.Quaternion;
@Persistent(version=6)
@Persistent(version=7)
public class TangibleObject extends SWGObject {
// TODO: Thread safety
@@ -262,6 +262,14 @@ public class TangibleObject extends SWGObject {
}
}
if (getClient() != null) {
CreatureObject companion = NGECore.getInstance().mountService.getCompanion((CreatureObject) this);
if (companion != null) {
companion.updatePvpStatus();
}
}
}
public void setCustomizationVariable(String type, byte value)