mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-05 20:12:51 -04:00
Fixed calculatePvpStatus
This commit is contained in:
@@ -559,12 +559,14 @@ public class CreatureObject extends TangibleObject implements Serializable {
|
||||
synchronized(objectMutex) {
|
||||
if (state != 0) {
|
||||
if (add) {
|
||||
stateBitmask = (stateBitmask | state);
|
||||
state = (stateBitmask | state);
|
||||
} else {
|
||||
stateBitmask = (stateBitmask & ~state);
|
||||
state = (stateBitmask & ~state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
notifyObservers(messageBuilder.buildStateDelta(state), true);
|
||||
}
|
||||
|
||||
public boolean getState(long state) {
|
||||
|
||||
Reference in New Issue
Block a user