mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 05:25:21 +01:00
Update code to new API.
Replace PremadeEvent with BentoBoxEvent.
This commit is contained in:
parent
dea71358ae
commit
6f357b3197
@ -4,13 +4,13 @@ package world.bentobox.challenges.events;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import world.bentobox.bentobox.api.events.PremadeEvent;
|
||||
import world.bentobox.bentobox.api.events.BentoBoxEvent;
|
||||
|
||||
|
||||
/**
|
||||
* This Event is fired when challenge is completed.
|
||||
*/
|
||||
public class ChallengeCompletedEvent extends PremadeEvent
|
||||
public class ChallengeCompletedEvent extends BentoBoxEvent
|
||||
{
|
||||
|
||||
/**
|
||||
|
@ -3,13 +3,13 @@ package world.bentobox.challenges.events;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import world.bentobox.bentobox.api.events.PremadeEvent;
|
||||
import world.bentobox.bentobox.api.events.BentoBoxEvent;
|
||||
|
||||
|
||||
/**
|
||||
* This event is fired when all challenges in given world is reset.
|
||||
*/
|
||||
public class ChallengeResetAllEvent extends PremadeEvent
|
||||
public class ChallengeResetAllEvent extends BentoBoxEvent
|
||||
{
|
||||
/**
|
||||
* Constructor creates a new ChallengeResetAllEvent instance.
|
||||
|
@ -3,13 +3,13 @@ package world.bentobox.challenges.events;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import world.bentobox.bentobox.api.events.PremadeEvent;
|
||||
import world.bentobox.bentobox.api.events.BentoBoxEvent;
|
||||
|
||||
|
||||
/**
|
||||
* This event is fired when single challenge is reset by admin.
|
||||
*/
|
||||
public class ChallengeResetEvent extends PremadeEvent
|
||||
public class ChallengeResetEvent extends BentoBoxEvent
|
||||
{
|
||||
/**
|
||||
* Constructor creates a new ChallengeResetEvent instance.
|
||||
|
@ -3,13 +3,13 @@ package world.bentobox.challenges.events;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import world.bentobox.bentobox.api.events.PremadeEvent;
|
||||
import world.bentobox.bentobox.api.events.BentoBoxEvent;
|
||||
|
||||
|
||||
/**
|
||||
* This event is fired when challenge level is completed.
|
||||
*/
|
||||
public class LevelCompletedEvent extends PremadeEvent
|
||||
public class LevelCompletedEvent extends BentoBoxEvent
|
||||
{
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user