mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-21 18:15:32 +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