mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 09:13:43 +01:00 
			
		
		
		
	FIX Chanced the 'lucky.fishing' modifier
If its * 0,75 randomChance will never exeed 99, thus disabling certain drops like Milk Buckets / Skulls.
This commit is contained in:
		| @@ -107,7 +107,7 @@ public class Fishing { | |||||||
|             int randomChance = 100; |             int randomChance = 100; | ||||||
|  |  | ||||||
|             if (player.hasPermission("mcmmo.perks.lucky.fishing")) { |             if (player.hasPermission("mcmmo.perks.lucky.fishing")) { | ||||||
|                 randomChance = (int) (randomChance * 0.75); |                 randomChance = (int) (randomChance * 1.75); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             if (random.nextDouble() * randomChance <= treasure.getDropChance()) { |             if (random.nextDouble() * randomChance <= treasure.getDropChance()) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Arjan Hofte
					Arjan Hofte