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

Fixed typo in PlayerProfile that was causing NPEs

GJ пре 13 година
родитељ
комит
f786c4db50
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java

+ 1 - 1
src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java

@@ -756,7 +756,7 @@ public class PlayerProfile {
      * @return the ATS for the tool
      */
     public long getToolPreparationATS(ToolType tool) {
-        return skillsDATS.get(tool);
+        return toolATS.get(tool);
     }
 
     /**