|
1 | | -package com.github.elic0de.hungergames.listener; |
| 1 | +package com.github.elic0de.battleroyale.listener; |
2 | 2 |
|
3 | 3 | import com.github.elic0de.eliccommon.util.ItemBuilder; |
4 | | -import com.github.elic0de.hungergames.HungerGames; |
5 | | -import com.github.elic0de.hungergames.game.HungerGame; |
6 | | -import com.github.elic0de.hungergames.game.phase.InGamePhase; |
7 | | -import com.github.elic0de.hungergames.game.phase.WaitingPhase; |
8 | | -import com.github.elic0de.hungergames.user.GameUser; |
9 | | -import com.github.elic0de.hungergames.user.GameUserManager; |
| 4 | +import com.github.elic0de.battleroyale.BattleRoyale; |
| 5 | +import com.github.elic0de.battleroyale.game.Game; |
| 6 | +import com.github.elic0de.battleroyale.game.phase.InGamePhase; |
| 7 | +import com.github.elic0de.battleroyale.game.phase.WaitingPhase; |
| 8 | +import com.github.elic0de.battleroyale.user.GameUser; |
| 9 | +import com.github.elic0de.battleroyale.user.GameUserManager; |
10 | 10 | import de.themoep.minedown.MineDown; |
11 | 11 | import net.md_5.bungee.api.ChatMessageType; |
12 | 12 | import net.md_5.bungee.api.chat.ComponentBuilder; |
13 | 13 | import org.bukkit.*; |
14 | 14 | import org.bukkit.block.Block; |
15 | | -import org.bukkit.block.BlockFace; |
16 | 15 | import org.bukkit.entity.Arrow; |
17 | 16 | import org.bukkit.entity.EnderDragon; |
18 | 17 | import org.bukkit.entity.Entity; |
19 | 18 | import org.bukkit.entity.Player; |
20 | 19 | import org.bukkit.event.EventHandler; |
21 | | -import org.bukkit.event.EventPriority; |
22 | 20 | import org.bukkit.event.Listener; |
23 | 21 | import org.bukkit.event.block.Action; |
24 | 22 | import org.bukkit.event.block.BlockBreakEvent; |
|
33 | 31 |
|
34 | 32 | public class EventListener implements Listener { |
35 | 33 |
|
36 | | - private final HungerGame game = HungerGames.getInstance().getGame(); |
| 34 | + private final Game game = BattleRoyale.getInstance().getGame(); |
37 | 35 |
|
38 | 36 | @EventHandler |
39 | 37 | private void onJoin(PlayerJoinEvent event) { |
|
0 commit comments