Browse Source

Revert "/fishing command will now also display the bonus gained from lucky perk"

This reverts commit 1bf0cd1d154940c7a128759b91d75d21bf24cf05.
TfT_02 12 years ago
parent
commit
1e7fef4557

+ 1 - 5
src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java

@@ -23,11 +23,7 @@ public class FishingCommand extends SkillCommand {
     protected void dataCalculations() {
     protected void dataCalculations() {
         lootTier = Fishing.getFishingLootTier(profile);
         lootTier = Fishing.getFishingLootTier(profile);
         magicChance = percent.format((float) lootTier / 15);
         magicChance = percent.format((float) lootTier / 15);
-        int dropChance = Fishing.getShakeChance(lootTier);
-        if (player.hasPermission("mcmmo.perks.lucky.fishing")) {
-            dropChance = (int) (dropChance * 1.25);
-        }
-        shakeChance = String.valueOf(dropChance);
+        shakeChance = String.valueOf(Fishing.getShakeChance(lootTier));
     }
     }
 
 
     @Override
     @Override