mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-23 11:06:13 +01:00
Mark Player/Group Domains as dirty in a few missing places.
Fixes WORLDGUARD-3404.
This commit is contained in:
parent
ddf0f41061
commit
c0c7c3215e
@ -51,7 +51,6 @@ public GroupDomain() {
|
||||
public GroupDomain(GroupDomain domain) {
|
||||
checkNotNull(domain, "domain");
|
||||
groups.addAll(domain.getGroups());
|
||||
dirty = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -128,6 +127,7 @@ public int size() {
|
||||
|
||||
@Override
|
||||
public void clear() {
|
||||
setDirty(true);
|
||||
groups.clear();
|
||||
}
|
||||
|
||||
|
@ -125,6 +125,7 @@ public void removePlayer(String name) {
|
||||
*/
|
||||
public void removePlayer(UUID uuid) {
|
||||
checkNotNull(uuid);
|
||||
setDirty(true);
|
||||
uniqueIds.remove(uuid);
|
||||
}
|
||||
|
||||
@ -136,6 +137,7 @@ public void removePlayer(UUID uuid) {
|
||||
*/
|
||||
public void removePlayer(LocalPlayer player) {
|
||||
checkNotNull(player);
|
||||
setDirty(true);
|
||||
removePlayer(player.getName());
|
||||
removePlayer(player.getUniqueId());
|
||||
}
|
||||
@ -183,6 +185,7 @@ public int size() {
|
||||
|
||||
@Override
|
||||
public void clear() {
|
||||
setDirty(true);
|
||||
uniqueIds.clear();
|
||||
names.clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user