Dont let Minestrike use NextBestGame

This commit is contained in:
TadahTech 2016-09-01 05:39:47 -05:00
parent 9fcee07427
commit 53846acbf6

View File

@ -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()
{