From 6f357b31976133e04c3319cdee44771fae00cfcb Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 13 Aug 2019 22:49:37 +0300 Subject: [PATCH] Update code to new API. Replace PremadeEvent with BentoBoxEvent. --- .../bentobox/challenges/events/ChallengeCompletedEvent.java | 4 ++-- .../bentobox/challenges/events/ChallengeResetAllEvent.java | 4 ++-- .../world/bentobox/challenges/events/ChallengeResetEvent.java | 4 ++-- .../world/bentobox/challenges/events/LevelCompletedEvent.java | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/world/bentobox/challenges/events/ChallengeCompletedEvent.java b/src/main/java/world/bentobox/challenges/events/ChallengeCompletedEvent.java index 75764a0..342d579 100644 --- a/src/main/java/world/bentobox/challenges/events/ChallengeCompletedEvent.java +++ b/src/main/java/world/bentobox/challenges/events/ChallengeCompletedEvent.java @@ -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 { /** diff --git a/src/main/java/world/bentobox/challenges/events/ChallengeResetAllEvent.java b/src/main/java/world/bentobox/challenges/events/ChallengeResetAllEvent.java index 7d46a2e..6be1f40 100644 --- a/src/main/java/world/bentobox/challenges/events/ChallengeResetAllEvent.java +++ b/src/main/java/world/bentobox/challenges/events/ChallengeResetAllEvent.java @@ -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. diff --git a/src/main/java/world/bentobox/challenges/events/ChallengeResetEvent.java b/src/main/java/world/bentobox/challenges/events/ChallengeResetEvent.java index 0b7cf5d..c104273 100644 --- a/src/main/java/world/bentobox/challenges/events/ChallengeResetEvent.java +++ b/src/main/java/world/bentobox/challenges/events/ChallengeResetEvent.java @@ -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. diff --git a/src/main/java/world/bentobox/challenges/events/LevelCompletedEvent.java b/src/main/java/world/bentobox/challenges/events/LevelCompletedEvent.java index c74dfb5..6dfc4a2 100644 --- a/src/main/java/world/bentobox/challenges/events/LevelCompletedEvent.java +++ b/src/main/java/world/bentobox/challenges/events/LevelCompletedEvent.java @@ -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 { /**