Преглед изворни кода

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>();
         }