Added minecart colors
This commit is contained in:
parent
2f3ff052ff
commit
acd5e0c1d2
@ -52,9 +52,7 @@ public class Quiver1_9 implements Listener
|
||||
player.kickPlayer("This game requires 1.9+!");
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (event.GetState() == GameState.End)
|
||||
{
|
||||
|
||||
UtilServer.Unregister(this);
|
||||
}
|
||||
}
|
||||
|
@ -41,21 +41,21 @@ public class UltimateHeadHunter extends Ultimate
|
||||
}
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public void cancel(Player player)
|
||||
// {
|
||||
// super.cancel(player);
|
||||
//
|
||||
// Game game = Manager.GetGame();
|
||||
//
|
||||
// for (Player other : game.GetPlayers(true))
|
||||
// {
|
||||
// if (!game.GetTeam(player).equals(game.GetTeam(other)))
|
||||
// {
|
||||
// other.removePotionEffect(PotionEffectType.GLOWING);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
@Override
|
||||
public void cancel(Player player)
|
||||
{
|
||||
super.cancel(player);
|
||||
|
||||
Game game = Manager.GetGame();
|
||||
|
||||
for (Player other : game.GetPlayers(true))
|
||||
{
|
||||
if (!game.GetTeam(player).equals(game.GetTeam(other)))
|
||||
{
|
||||
other.removePotionEffect(PotionEffectType.GLOWING);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getChargeIncreasePerSecond()
|
||||
|
@ -48,7 +48,8 @@ public class UltimateNinja extends Ultimate
|
||||
{
|
||||
super.activate(player);
|
||||
|
||||
player.getInventory().setItem(0, new ItemStack(Material.DIAMOND_SWORD));
|
||||
player.getInventory().setItem(0, null);
|
||||
player.getInventory().addItem(new ItemStack(Material.DIAMOND_SWORD));
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, (int) ((_length / 1000) * 20), SPEED_AMPLIFiER));
|
||||
|
||||
UtilParticle.PlayParticleToAll(ParticleType.FIREWORKS_SPARK, player.getEyeLocation(), 0, 0, 0, 1F, 50, ViewDist.NORMAL);
|
||||
|
Loading…
Reference in New Issue
Block a user