Dont let Minestrike use NextBestGame
This commit is contained in:
parent
9fcee07427
commit
53846acbf6
@ -18,6 +18,7 @@ import nautilus.game.arcade.events.PlayerStateChangeEvent;
|
||||
import nautilus.game.arcade.game.Game;
|
||||
import nautilus.game.arcade.game.Game.GameState;
|
||||
import nautilus.game.arcade.game.GameTeam.PlayerState;
|
||||
import nautilus.game.arcade.game.games.minestrike.Minestrike;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
import net.md_5.bungee.api.chat.ClickEvent;
|
||||
import net.md_5.bungee.api.chat.HoverEvent;
|
||||
@ -237,6 +238,11 @@ public class NextBestGameManager implements Listener
|
||||
@EventHandler
|
||||
public void onDeath(PlayerStateChangeEvent event)
|
||||
{
|
||||
if(event.GetGame() instanceof Minestrike)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
new BukkitRunnable()
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user