mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-25 03:55:35 +01:00
Null check between stage. Bump version
This commit is contained in:
parent
9a5b5725bb
commit
ff4dcacea8
@ -292,6 +292,9 @@ public class BukkitQuest implements Quest {
|
|||||||
|
|
||||||
private void doNextStage(final Quester quester, final boolean allowSharedProgress) {
|
private void doNextStage(final Quester quester, final boolean allowSharedProgress) {
|
||||||
final Stage currentStage = quester.getCurrentStage(this);
|
final Stage currentStage = quester.getCurrentStage(this);
|
||||||
|
if (currentStage == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (currentStage.getFinishAction() != null) {
|
if (currentStage.getFinishAction() != null) {
|
||||||
currentStage.getFinishAction().fire(quester, this);
|
currentStage.getFinishAction().fire(quester, this);
|
||||||
}
|
}
|
||||||
|
2
pom.xml
2
pom.xml
@ -21,7 +21,7 @@
|
|||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>5.0.0</revision>
|
<revision>5.0.1</revision>
|
||||||
<updatePomFile>true</updatePomFile>
|
<updatePomFile>true</updatePomFile>
|
||||||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
Loading…
Reference in New Issue
Block a user