Null check between stage. Bump version

This commit is contained in:
PikaMug 2024-03-02 02:34:31 -05:00
parent 9a5b5725bb
commit ff4dcacea8
2 changed files with 4 additions and 1 deletions

View File

@ -292,6 +292,9 @@ public class BukkitQuest implements Quest {
private void doNextStage(final Quester quester, final boolean allowSharedProgress) {
final Stage currentStage = quester.getCurrentStage(this);
if (currentStage == null) {
return;
}
if (currentStage.getFinishAction() != null) {
currentStage.getFinishAction().fire(quester, this);
}

View File

@ -21,7 +21,7 @@
</modules>
<properties>
<revision>5.0.0</revision>
<revision>5.0.1</revision>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>