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) {
|
||||
final Stage currentStage = quester.getCurrentStage(this);
|
||||
if (currentStage == null) {
|
||||
return;
|
||||
}
|
||||
if (currentStage.getFinishAction() != null) {
|
||||
currentStage.getFinishAction().fire(quester, this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user