Allows enabling of old fishing mechanic where fish was always caught, even when a treasure was found
@@ -7,6 +7,8 @@ Key:
! Change
- Removal
+Version 1.5.00-dev
+
Version 1.4.08
+ Added a new skill; Alchemy. Special thanks to EasyMFnE for creating this!
+ Added SecondaryAbilityType enum, and new SecondaryAbilityWeightedActivationCheckEvent, fired when a secondary ability checkes its activation chances
@@ -451,6 +451,7 @@ public class Config extends AutoUpdateConfigLoader {
/* Fishing */
public boolean getFishingDropsEnabled() { return config.getBoolean("Skills.Fishing.Drops_Enabled", true); }
+ public boolean getFishingExtraFish() { return config.getBoolean("Skills.Fishing.Extra_Fish", true); }
/* Mining */
public Material getDetonatorItem() { return Material.matchMaterial(config.getString("Skills.Mining.Detonator_Name", "FLINT_AND_STEEL")); }
@@ -347,6 +347,10 @@ public class FishingManager extends SkillManager {
player.sendMessage(LocaleLoader.getString("Fishing.Ability.TH.MagicFound"));
}
+ if (Config.getInstance().getFishingExtraFish()) {
+ Misc.dropItem(player.getEyeLocation(), fishingCatch.getItemStack());
+ }
fishingCatch.setItemStack(treasureDrop);
@@ -287,8 +287,10 @@ Skills:
Excavation:
Level_Cap: 0
Fishing:
- Drops_Enabled: true
+ Drops_Enabled: true
+ # Always catch fish, even when treasure is found
+ Extra_Fish: false
Herbalism:
Prevent_AFK_Leveling: true