mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
Conflicts: src/main/NGECore.java src/resources/objects/creature/CreatureObject.java src/services/object/ObjectService.java
This commit is contained in:
@@ -438,6 +438,22 @@ public class PlayerObject extends SWGObject {
|
||||
}
|
||||
}
|
||||
|
||||
public void ignoreAdd(String ignoreName) {
|
||||
synchronized(objectMutex) {
|
||||
setIgnoreListUpdateCounter(getIgnoreListUpdateCounter() + 1);
|
||||
getContainer().getClient().getSession().write(messageBuilder.buildIgnoreAddDelta(ignoreName));
|
||||
ignoreList.add(ignoreName);
|
||||
}
|
||||
}
|
||||
|
||||
public void ignoreRemove(String removeName) {
|
||||
synchronized(objectMutex) {
|
||||
setIgnoreListUpdateCounter(getIgnoreListUpdateCounter() + 1);
|
||||
getContainer().getClient().getSession().write(messageBuilder.buildIgnoreRemoveDelta(removeName));
|
||||
ignoreList.remove(removeName);
|
||||
}
|
||||
}
|
||||
|
||||
public void setIgnoreListUpdateCounter(int ignoreListUpdateCounter) {
|
||||
synchronized(objectMutex) {
|
||||
this.ignoreListUpdateCounter = ignoreListUpdateCounter;
|
||||
|
||||
Reference in New Issue
Block a user