diff --git a/Plan/common/src/main/java/com/djrapitops/plan/extension/implementation/builder/ExtDataBuilder.java b/Plan/common/src/main/java/com/djrapitops/plan/extension/implementation/builder/ExtDataBuilder.java index 6fc6722bd..6b8933f07 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/extension/implementation/builder/ExtDataBuilder.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/extension/implementation/builder/ExtDataBuilder.java @@ -54,7 +54,7 @@ public class ExtDataBuilder implements ExtensionDataBuilder { @Override public ExtensionDataBuilder addValue(Class ofType, Supplier> dataValue) { try { - if (ofType != null && dataValue != null) values.add(new ClassValuePair(ofType, dataValue.get())); + if (ofType != null && dataValue != null) addValue(ofType, dataValue.get()); } catch (NotReadyException | UnsupportedOperationException ignored) { // This exception is ignored by default to allow throwing errors inside the lambda to keep code clean. } diff --git a/Plan/extensions/build.gradle b/Plan/extensions/build.gradle index 91548ca06..34d9bcd86 100644 --- a/Plan/extensions/build.gradle +++ b/Plan/extensions/build.gradle @@ -23,7 +23,7 @@ dependencies { implementation 'com.djrapitops:Extension-Jobs:4.16.3-R0.1' implementation 'com.djrapitops:Extension-KingdomsX:1.10.17-R0.3' implementation 'com.djrapitops:Extension-Lands:5.4.12-R0.1' - implementation 'net.playeranalytics:Extension-LibertyBans:0.8.0-R0.1' + implementation 'net.playeranalytics:Extension-LibertyBans:0.8.0-R0.2' implementation 'com.djrapitops:Extension-Litebans:0.3.4-R0.1' implementation 'com.djrapitops:Extension-LogBlock:1.16.1.2-R0.7' implementation 'com.djrapitops:Extension-LuckPerms:5.0-R0.2'