Fixed builder invalidated data not being removed

This commit is contained in:
Risto Lahtela 2021-04-28 10:53:17 +03:00
parent e7f7779b27
commit 88d3409364
2 changed files with 6 additions and 5 deletions

View File

@ -68,6 +68,10 @@ public class ExtDataBuilder implements ExtensionDataBuilder {
return this;
}
public Set<String> getInvalidatedValues() {
return invalidatedValues;
}
public List<ClassValuePair> getValues() {
Collections.sort(values);
return values;
@ -87,10 +91,7 @@ public class ExtDataBuilder implements ExtensionDataBuilder {
}
this.values.addAll(((ExtDataBuilder) builder).values);
}
public Set<String> getInvalidatedValues() {
return invalidatedValues;
this.invalidatedValues.addAll(((ExtDataBuilder) builder).invalidatedValues);
}
public static final class ClassValuePair implements Comparable<ClassValuePair> {

View File

@ -32,7 +32,7 @@ dependencies {
compile 'com.djrapitops:Extension-MyPet:3.10-R0.2'
compile 'com.djrapitops:Extension-Nucleus:2.3.0-R0.1'
compile 'com.djrapitops:Extension-nuVotifier:2.3.4-R0.3'
compile 'com.djrapitops:Extension-PlaceholderAPI:2.10.9-R0.3'
compile 'com.djrapitops:Extension-PlaceholderAPI:2.10.9-R0.3.2'
compile 'com.djrapitops:Extension-PlotSquared:5.13.11-R0.1'
compile 'com.djrapitops:Extension-ProtectionStones:2.8.2-R0.1'
compile 'com.djrapitops:Extension-ProtocolSupport:1.16.4-R0.1'