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

@ -19,7 +19,7 @@ public class BeastLoreEventHandler {
}
protected void sendInspectMessage() {
if(player == null)
if (player == null)
return;
String message = LocaleLoader.getString("Combat.BeastLore") + " ";

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"));

View File

@ -18,7 +18,7 @@ public class EnvironmentallyAwareEventHandler {
}
protected void teleportWolf() {
if(player == null)
if (player == null)
return;
if (event.getDamage() > wolf.getHealth()) {
@ -29,7 +29,7 @@ public class EnvironmentallyAwareEventHandler {
}
protected void sendAbilityMessage() {
if(player == null)
if (player == null)
return;
player.sendMessage(LocaleLoader.getString("Taming.Listener.Wolf"));

View File

@ -34,7 +34,7 @@ public class TamingManager {
* @param damage The damage being absorbed by the wolf
*/
public void fastFoodService(Wolf wolf, int damage) {
if(player == null)
if (player == null)
return;
if (!Permissions.fastFoodService(player)) {
@ -62,7 +62,7 @@ public class TamingManager {
* @param event The event to modify
*/
public void sharpenedClaws(EntityDamageEvent event) {
if(player == null)
if (player == null)
return;
if (!Permissions.sharpenedClaws(player)) {
@ -82,7 +82,7 @@ public class TamingManager {
* @param event The event to modify
*/
public void gore(EntityDamageEvent event) {
if(player == null)
if (player == null)
return;
if (!Permissions.gore(player)) {
@ -160,7 +160,7 @@ public class TamingManager {
* @param livingEntity The entity to examine
*/
public void beastLore(LivingEntity livingEntity) {
if(player == null)
if (player == null)
return;
if (!Permissions.beastLore(player)) {
@ -179,7 +179,7 @@ public class TamingManager {
* @param summonAmount The amount of material needed to summon the entity
*/
private void callOfTheWild(EntityType type, int summonAmount) {
if(player == null)
if (player == null)
return;
if (!Permissions.callOfTheWild(player)) {
@ -213,7 +213,7 @@ public class TamingManager {
* @param cause The damage cause of the event
*/
private void environmentallyAware(EntityDamageEvent event, DamageCause cause) {
if(player == null)
if (player == null)
return;
if (!Permissions.environmentallyAware(player)) {
@ -248,7 +248,7 @@ public class TamingManager {
* @param cause The damage cause of the event
*/
private void thickFur(EntityDamageEvent event, DamageCause cause) {
if(player == null)
if (player == null)
return;
if (!Permissions.thickFur(player)) {
@ -268,7 +268,7 @@ public class TamingManager {
* @param event The event to modify
*/
private void shockProof(EntityDamageEvent event) {
if(player == null)
if (player == null)
return;
if (!Permissions.shockProof(player)) {