mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
More formatting :)
This commit is contained in:
parent
6dbf2e0d95
commit
23b1518dc0
@ -18,11 +18,11 @@ public class McMMOPlayerFishingTreasureEvent extends McMMOPlayerSkillEvent imple
|
|||||||
this.treasure = treasure;
|
this.treasure = treasure;
|
||||||
this.xp = xp;
|
this.xp = xp;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack getTreasure() {
|
public ItemStack getTreasure() {
|
||||||
return treasure;
|
return treasure;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTreasure(ItemStack item) {
|
public void setTreasure(ItemStack item) {
|
||||||
this.treasure = item;
|
this.treasure = item;
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,6 @@ import org.bukkit.enchantments.Enchantment;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
|
|
||||||
public class McMMOPlayerMagicHunterEvent extends McMMOPlayerFishingTreasureEvent {
|
public class McMMOPlayerMagicHunterEvent extends McMMOPlayerFishingTreasureEvent {
|
||||||
|
|
||||||
private Map<Enchantment, Integer> enchants;
|
private Map<Enchantment, Integer> enchants;
|
||||||
@ -15,7 +14,7 @@ public class McMMOPlayerMagicHunterEvent extends McMMOPlayerFishingTreasureEvent
|
|||||||
super(player, treasure, xp);
|
super(player, treasure, xp);
|
||||||
this.enchants = enchants;
|
this.enchants = enchants;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Enchantment, Integer> getEnchantments() {
|
public Map<Enchantment, Integer> getEnchantments() {
|
||||||
return enchants;
|
return enchants;
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ public class McMMOPlayerShakeEvent extends McMMOPlayerSkillEvent implements Canc
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setCancelled(boolean newValue) {
|
public void setCancelled(boolean newValue) {
|
||||||
this.cancelled = newValue;
|
this.cancelled = newValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack getDrop() {
|
public ItemStack getDrop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user