Minor patches

This commit is contained in:
Chiss 2014-10-14 12:42:53 +11:00
parent a4b85053d9
commit ed9dd6e894
6 changed files with 8 additions and 11 deletions

View File

@ -348,7 +348,7 @@ public class AntiHack extends MiniPlugin
}
else
{
UtilPlayer.message(player, C.cGold + C.Bold + "----------------------------------------------------");
UtilPlayer.message(player, C.cGold + C.Strike + "---------------------------------------------");
UtilPlayer.message(player, "");
UtilPlayer.message(player, C.cGold + "Mineplex Anti-Cheat");
UtilPlayer.message(player, "");
@ -356,7 +356,7 @@ public class AntiHack extends MiniPlugin
UtilPlayer.message(player, "Cheating may result in a " + C.cRed + "Permanent Ban" + C.cWhite + ".");
UtilPlayer.message(player, "If you were not cheating, you will not be banned.");
UtilPlayer.message(player, "");
UtilPlayer.message(player, C.cGold + C.Bold + "----------------------------------------------------");
UtilPlayer.message(player, C.cGold + C.Strike + "---------------------------------------------");
Portal.SendPlayerToServer(player, "Lobby");
}

View File

@ -154,8 +154,6 @@ public class MorphBlock extends MorphGadget
@EventHandler
public void itemSpawnCancel(ItemSpawnEvent event)
{
System.out.println("B");
Iterator<FallingBlock> blockIterator = _blocks.iterator();
while (blockIterator.hasNext())

View File

@ -589,7 +589,7 @@ public class HubManager extends MiniClientPlugin<HubClient>
return;
//Dont Let Chat Near Spawn!
if (UtilMath.offset2d(GetSpawn(), event.getPlayer().getLocation()) == 0)
if (UtilMath.offset2d(GetSpawn(), event.getPlayer().getLocation()) == 0 && !_clientManager.Get(event.getPlayer()).GetRank().Has(Rank.HELPER))
{
UtilPlayer.message(event.getPlayer(), F.main("Chat", "You must leave spawn before you can chat!"));
event.setCancelled(true);

View File

@ -63,7 +63,6 @@ public class Quiver extends SoloGame
"First player to 20 kills wins."
});
this.StrictAntiHack = true;
this.HungerSet = 20;
this.DeathOut = false;
this.DamageSelf = false;

View File

@ -20,16 +20,16 @@ public class KitLeaper extends Kit
{
public KitLeaper(ArcadeManager manager)
{
super(manager, "Leaper", KitAvailability.Free,
super(manager, "Jumper", KitAvailability.Free,
new String[]
{
"Evade and kill using your leap!"
"Evade and kill using your double jump!"
},
new Perk[]
{
new PerkLeap("Leap", 1.2, 1, 3000)
new PerkDoubleJump("Double Jump", 0.9, 0.9, true)
},
EntityType.ZOMBIE,
new ItemStack(Material.IRON_AXE));

View File

@ -50,8 +50,8 @@ public class KitChicken extends SmashKit
new String[]
{
ChatColor.RESET + "Unleash a barrage of your precious eggs.",
ChatColor.RESET + "They won't deal any knockback, but if",
ChatColor.RESET + "they they can deal some serious damage.",
ChatColor.RESET + "They won't deal any knockback, but they",
ChatColor.RESET + "can deal some serious damage.",
}));
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.IRON_AXE, (byte)0, 1,