My OCD made me do it.

This commit is contained in:
gmcferrin
2013-01-09 23:03:17 -05:00
parent c60cbe824c
commit e193da2cd7
57 changed files with 276 additions and 276 deletions

View File

@ -24,7 +24,7 @@ public class CounterAttackEventHandler {
}
protected boolean isHoldingSword() {
if(player == null)
if (player == null)
return false;
return ItemChecks.isSword(player.getItemInHand());
@ -39,7 +39,7 @@ public class CounterAttackEventHandler {
}
protected void sendAbilityMessages() {
if(player == null)
if (player == null)
return;
player.sendMessage(LocaleLoader.getString("Swords.Combat.Countered"));

View File

@ -19,7 +19,7 @@ public class SerratedStrikesEventHandler {
}
protected void applyAbilityEffects() {
if(player == null)
if (player == null)
return;
Combat.applyAbilityAoE(player, target, damage / Swords.SERRATED_STRIKES_MODIFIER, SkillType.SWORDS);

View File

@ -26,7 +26,7 @@ public class SwordsManager {
* @param defender The defending entity
*/
public void bleedCheck(LivingEntity defender) {
if(player == null)
if (player == null)
return;
if (!Permissions.swordsBleed(player)) {
@ -53,7 +53,7 @@ public class SwordsManager {
}
public void counterAttackChecks(LivingEntity attacker, int damage) {
if(player == null)
if (player == null)
return;
if (!Permissions.counterAttack(player)) {
@ -82,7 +82,7 @@ public class SwordsManager {
}
public void serratedStrikes(LivingEntity target, int damage) {
if(player == null)
if (player == null)
return;
if (!Permissions.serratedStrikes(player)) {