فهرست منبع

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);
     }
 
     /**