mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Revert "/fishing command will now also display the bonus gained from lucky perk"
This reverts commit 1bf0cd1d15.
			
			
This commit is contained in:
		@@ -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);
 | 
					        shakeChance = String.valueOf(Fishing.getShakeChance(lootTier));
 | 
				
			||||||
        if (player.hasPermission("mcmmo.perks.lucky.fishing")) {
 | 
					 | 
				
			||||||
            dropChance = (int) (dropChance * 1.25);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        shakeChance = String.valueOf(dropChance);
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user