소스 검색

Fixed bug where Snow would never drop treasures

Fixes #1820
TfT_02 11 년 전
부모
커밋
62b13a9a84
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Changelog.txt
  2. 3 0
      src/main/java/com/gmail/nossr50/skills/excavation/Excavation.java

+ 1 - 0
Changelog.txt

@@ -35,6 +35,7 @@ Version 1.4.08-dev
  = Fixed bug which made it possible to gain XP by taming the same horse multiple times, if a player "untamed" that horse
  = Fixed bug where the /ptp request expiration time was checked wrongly - preventing players from using the command
  = Fixed bug where Hylian Luck was broken
+ = Fixed bug where Snow would never drop treasures
  ! Changed party system. Parties now have XP and Levels. Party features such as party teleport and party chat have to be unlocked before they can be used by the party members
  ! Changed appearance of party member list. Gold = party leader, White = online, Gray = offline, Italic = not nearby
  ! Updated localization files

+ 3 - 0
src/main/java/com/gmail/nossr50/skills/excavation/Excavation.java

@@ -41,6 +41,9 @@ public class Excavation {
             case SOUL_SAND:
                 return TreasureConfig.getInstance().excavationFromSoulSand;
 
+            case SNOW:
+                return TreasureConfig.getInstance().excavationFromSnow;
+
             default:
                 return new ArrayList<ExcavationTreasure>();
         }