From 92e23b2e1ba295b071d62b0eb70f8869ac2640ce Mon Sep 17 00:00:00 2001 From: Thanos paravantis Date: Sat, 12 Dec 2015 10:11:42 +0200 Subject: [PATCH] Rename method on Fast Food challenge. --- .../nautilus/game/arcade/game/games/mineware/Challenge.java | 2 -- .../game/games/mineware/challenges/ChallengeFastFood.java | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/Challenge.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/Challenge.java index 9eb5c65b9..8525feb9e 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/Challenge.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/Challenge.java @@ -16,9 +16,7 @@ import mineplex.core.projectile.ProjectileUser; import mineplex.core.updater.UpdateType; import mineplex.core.updater.event.UpdateEvent; import mineplex.minecraft.game.core.condition.Condition.ConditionType; -import nautilus.game.arcade.game.games.mineware.events.ChallengeEndEvent; -import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.Sound; diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenges/ChallengeFastFood.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenges/ChallengeFastFood.java index fef075912..b3cc52a01 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenges/ChallengeFastFood.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenges/ChallengeFastFood.java @@ -124,7 +124,7 @@ public class ChallengeFastFood extends Challenge } else { - chanceItemSlot(player); + changeItemSlot(player); } } } @@ -177,7 +177,7 @@ public class ChallengeFastFood extends Challenge return itemStack; } - private void chanceItemSlot(Player player) + private void changeItemSlot(Player player) { for(int i = 0; i < 9; i++) {