Skip to content

Commit 24df1ab

Browse files
committed
asd
1 parent 76bf6ca commit 24df1ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Common/src/main/java/com/fren_gor/ultimateAdvancementAPI/advancement/Advancement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ public boolean isVisible(@NotNull UUID uuid) {
541541
* When overridden, this method (called via {@code super}) enables the AVS features for that method.
542542
*/
543543
public boolean isVisible(@NotNull TeamProgression progression) {
544-
validateTeamProgression(progression);
544+
// validateTeamProgression(progression);
545545
// Advancement visibility system
546546
if (iVisibilityMethod != null) {
547547
try {
@@ -623,7 +623,7 @@ public void revoke(@NotNull Player player) {
623623
* The values are the current progressions of the team.
624624
*/
625625
public void onUpdate(@NotNull TeamProgression teamProgression, @NotNull Map<AdvancementWrapper, Integer> addedAdvancements) {
626-
if (isVisible(teamProgression)) {
626+
if (teamProgression.isValid() && isVisible(teamProgression)) {
627627
addedAdvancements.put(getNMSWrapper(), getProgression(teamProgression));
628628
}
629629
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
<doclint>all,-missing</doclint>
212212
<failOnWarnings>true</failOnWarnings>
213213
<links>
214-
<link>https://frengor.com/javadocs/EventManagerAPI/build-server/</link>
214+
<!-- <link>https://frengor.com/javadocs/EventManagerAPI/build-server/</link> -->
215215
<link>https://javadoc.io/doc/org.jetbrains/annotations/22.0.0/</link>
216216
<link>https://javadoc.io/static/net.md-5/bungeecord-chat/1.16-R0.4/</link>
217217
<link>https://hub.spigotmc.org/javadocs/spigot/</link>

0 commit comments

Comments
 (0)