Update code to new API.

Replace PremadeEvent with BentoBoxEvent.
This commit is contained in:
BuildTools 2019-08-13 22:49:37 +03:00
parent dea71358ae
commit 6f357b3197
4 changed files with 8 additions and 8 deletions

View File

@ -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
{
/**

View File

@ -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.

View File

@ -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.

View File

@ -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
{
/**