File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Common/src/main/java/com/fren_gor/ultimateAdvancementAPI/advancement Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments