From 23b1518dc04221b32f9cf98424f35006e615886b Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 17 May 2013 21:09:19 +0200 Subject: [PATCH] More formatting :) --- .../skills/fishing/McMMOPlayerFishingTreasureEvent.java | 4 ++-- .../events/skills/fishing/McMMOPlayerMagicHunterEvent.java | 3 +-- .../nossr50/events/skills/fishing/McMMOPlayerShakeEvent.java | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerFishingTreasureEvent.java b/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerFishingTreasureEvent.java index a9eb58d7a..e17851924 100644 --- a/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerFishingTreasureEvent.java +++ b/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerFishingTreasureEvent.java @@ -18,11 +18,11 @@ public class McMMOPlayerFishingTreasureEvent extends McMMOPlayerSkillEvent imple this.treasure = treasure; this.xp = xp; } - + public ItemStack getTreasure() { return treasure; } - + public void setTreasure(ItemStack item) { this.treasure = item; } diff --git a/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerMagicHunterEvent.java b/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerMagicHunterEvent.java index 53a98a1fb..828a34220 100644 --- a/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerMagicHunterEvent.java +++ b/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerMagicHunterEvent.java @@ -6,7 +6,6 @@ import org.bukkit.enchantments.Enchantment; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; - public class McMMOPlayerMagicHunterEvent extends McMMOPlayerFishingTreasureEvent { private Map enchants; @@ -15,7 +14,7 @@ public class McMMOPlayerMagicHunterEvent extends McMMOPlayerFishingTreasureEvent super(player, treasure, xp); this.enchants = enchants; } - + public Map getEnchantments() { return enchants; } diff --git a/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerShakeEvent.java b/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerShakeEvent.java index b91a33063..e81dcf368 100644 --- a/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerShakeEvent.java +++ b/src/main/java/com/gmail/nossr50/events/skills/fishing/McMMOPlayerShakeEvent.java @@ -22,7 +22,7 @@ public class McMMOPlayerShakeEvent extends McMMOPlayerSkillEvent implements Canc } public void setCancelled(boolean newValue) { - this.cancelled = newValue; + this.cancelled = newValue; } public ItemStack getDrop() {