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

@ -28,14 +28,14 @@ public class CallOfTheWildEventHandler {
}
protected void sendInsufficientAmountMessage() {
if(player == null)
if (player == null)
return;
player.sendMessage(LocaleLoader.getString("Skills.NeedMore") + " " + ChatColor.GRAY + Misc.prettyItemString(inHand.getTypeId()));
}
protected boolean nearbyEntityExists() {
if(player == null)
if (player == null)
return false;
boolean entityExists = false;
@ -51,7 +51,7 @@ public class CallOfTheWildEventHandler {
}
protected void sendFailureMessage() {
if(player == null)
if (player == null)
return;
if (type == EntityType.OCELOT) {
@ -63,7 +63,7 @@ public class CallOfTheWildEventHandler {
}
protected void spawnCreature() {
if(player == null)
if (player == null)
return;
LivingEntity entity = (LivingEntity) player.getWorld().spawnEntity(player.getLocation(), type);
@ -80,7 +80,7 @@ public class CallOfTheWildEventHandler {
}
protected void processResourceCost() {
if(player == null)
if (player == null)
return;
int newAmount = inHand.getAmount() - summonAmount;
@ -94,7 +94,7 @@ public class CallOfTheWildEventHandler {
}
protected void sendSuccessMessage() {
if(player == null)
if (player == null)
return;
player.sendMessage(LocaleLoader.getString("Taming.Summon.Complete"));