Selaa lähdekoodia

Fixed typo in PlayerProfile that was causing NPEs

GJ 13 vuotta sitten
vanhempi
sitoutus
f786c4db50
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);
     }
 
     /**