More final tweaks.

This commit is contained in:
Mysticate 2015-08-28 16:36:35 -06:00
parent 513662e6e3
commit 2d770a8dd1
3 changed files with 7 additions and 7 deletions

View File

@ -148,9 +148,9 @@ public class Evolution extends SoloGame
DeathMessages = false; DeathMessages = false;
this.InventoryClick = false; InventoryClick = false;
this.InventoryOpenBlock = false; InventoryOpenBlock = false;
Manager.GetDamage().GetCombatManager().setUseWeaponName(AttackReason.Attack); Manager.GetDamage().GetCombatManager().setUseWeaponName(AttackReason.Attack);

View File

@ -39,7 +39,7 @@ public class NoMeleeTracker extends StatTracker<Evolution>
if (!getGame().IsAlive(player)) if (!getGame().IsAlive(player))
return; return;
if (event.GetReason() == null || event.GetReason().equalsIgnoreCase("Attack")) if (event.GetReason() == null || event.GetReason().contains("Attack"))
{ {
if (!_out.contains(player.getName())) if (!_out.contains(player.getName()))
_out.add(player.getName()); _out.add(player.getName());

View File

@ -1208,10 +1208,10 @@ public class GameFlagManager implements Listener
{ {
if (Manager.GetGame() == null) if (Manager.GetGame() == null)
return; return;
//
if (Manager.GetGame().GetType().getResourcePackUrl() == null) // if (Manager.GetGame().GetType().getResourcePackUrl() == null)
return; // return;
//
UtilPlayer.message(player, " "); UtilPlayer.message(player, " ");
UtilPlayer.message(player, C.cGold + C.Bold + Manager.GetGame().GetType().GetName() + " requires you to be using Minecraft 1.8!"); UtilPlayer.message(player, C.cGold + C.Bold + Manager.GetGame().GetType().GetName() + " requires you to be using Minecraft 1.8!");
UtilPlayer.message(player, " "); UtilPlayer.message(player, " ");