mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Dealing with a few minor issues.
This commit is contained in:
		@@ -25,7 +25,11 @@ public class FishingCommand extends SkillCommand {
 | 
			
		||||
    protected void dataCalculations() {
 | 
			
		||||
        lootTier = Fishing.getFishingLootTier(profile);
 | 
			
		||||
        magicChance = percent.format((float) lootTier / 15);
 | 
			
		||||
        shakeChance = String.valueOf(Fishing.getShakeChance(lootTier));
 | 
			
		||||
        int dropChance = Fishing.getShakeChance(lootTier);
 | 
			
		||||
        if (player.hasPermission("mcmmo.perks.lucky.fishing")) {
 | 
			
		||||
            dropChance = (int) (dropChance * 1.25);
 | 
			
		||||
        }
 | 
			
		||||
        shakeChance = String.valueOf(dropChance);
 | 
			
		||||
 | 
			
		||||
        if (skillValue >= 1000) {
 | 
			
		||||
            fishermansDietRank = "5";
 | 
			
		||||
 
 | 
			
		||||
@@ -42,7 +42,10 @@ public class ChunkletUnloader implements Runnable {
 | 
			
		||||
 | 
			
		||||
                //Chunklets are unloaded only if their chunk has been unloaded for minimumInactiveTime
 | 
			
		||||
                if (inactiveTime >= minimumInactiveTime) {
 | 
			
		||||
                    mcMMO.placeStore.unloadChunk(chunk.getX(), chunk.getZ(), chunk.getWorld());
 | 
			
		||||
                    if(mcMMO.p.placeStore == null)
 | 
			
		||||
                        continue;
 | 
			
		||||
 | 
			
		||||
                    mcMMO.p.placeStore.unloadChunk(chunk.getX(), chunk.getZ(), chunk.getWorld());
 | 
			
		||||
                    it.remove();
 | 
			
		||||
                    continue;
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user