Fixed calculatePvpStatus

This commit is contained in:
Treeku
2014-05-03 15:32:07 +01:00
parent 883163768d
commit dba74a6ebc
5 changed files with 146 additions and 64 deletions
@@ -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) {