mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-30 13:08:59 +01:00
Merge pull request #872 from 18PatZ/master
Patch quests start event bug (#838)
This commit is contained in:
commit
1b6acef6c1
@ -231,7 +231,7 @@ public class Quest {
|
||||
throw new InvalidStageException(this, stage);
|
||||
}
|
||||
Stage currentStage = quester.getCurrentStage(this);
|
||||
Stage nextStage = quester.getCurrentStage(this);
|
||||
Stage nextStage = getStage(stage);
|
||||
QuesterPreChangeStageEvent preEvent = new QuesterPreChangeStageEvent(quester, this, currentStage, nextStage);
|
||||
plugin.getServer().getPluginManager().callEvent(preEvent);
|
||||
if (preEvent.isCancelled()) {
|
||||
|
Loading…
Reference in New Issue
Block a user