mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
more work on AI, added odb for object id(should hopefully fix object id duplicates), fixed tons of bugs
This commit is contained in:
@@ -195,7 +195,8 @@ public class PlayerObject extends IntangibleObject {
|
||||
synchronized(objectMutex) {
|
||||
this.totalPlayTime = totalPlayTime;
|
||||
}
|
||||
notifyObservers(messageBuilder.buildTotalPlayTimeDelta(totalPlayTime), true);
|
||||
//notifyObservers(messageBuilder.buildTotalPlayTimeDelta(totalPlayTime), true);
|
||||
getContainer().getClient().getSession().write(messageBuilder.buildTotalPlayTimeDelta(totalPlayTime));
|
||||
}
|
||||
|
||||
public String getHome() {
|
||||
@@ -596,13 +597,12 @@ public class PlayerObject extends IntangibleObject {
|
||||
|
||||
if(destination == null || destination.getSession() == null)
|
||||
return;
|
||||
|
||||
//if(destination.getParent().getObjectID() == getParentId()) { // only send to self
|
||||
destination.getSession().write(messageBuilder.buildBaseline3());
|
||||
destination.getSession().write(messageBuilder.buildBaseline6());
|
||||
destination.getSession().write(messageBuilder.buildBaseline3());
|
||||
destination.getSession().write(messageBuilder.buildBaseline6());
|
||||
if(destination.getParent().getObjectID() == getParentId()) { // only send to self
|
||||
destination.getSession().write(messageBuilder.buildBaseline8());
|
||||
destination.getSession().write(messageBuilder.buildBaseline9());
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user