Explorar el Código

Fixed typo in PlayerProfile that was causing NPEs

GJ hace 13 años
padre
commit
f786c4db50
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }
 
     /**