Remove Static Abuse - Command Tasks

This commit is contained in:
nossr50
2019-07-03 00:40:28 -07:00
parent 40a3de76fb
commit 4da455b9d2
76 changed files with 124 additions and 98 deletions

View File

@@ -22,7 +22,7 @@ import java.util.List;
*/
public class MmoInfoCommand implements TabExecutor {
private mcMMO pluginRef;
private final mcMMO pluginRef;
public MmoInfoCommand(mcMMO pluginRef) {
this.pluginRef = pluginRef;

View File

@@ -14,7 +14,7 @@ public class SkillGuideCommand implements CommandExecutor {
private String header;
private ArrayList<String> guide;
private String invalidPage;
private mcMMO pluginRef;
private final mcMMO pluginRef;
public SkillGuideCommand(PrimarySkillType skill, mcMMO pluginRef) {
header = pluginRef.getLocaleManager().getString("Guides.Header", skill.getName());