Browse Source

refactoring: The HashMap commands is final now

remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
66d9d812c7
  1. 2
      src/main/java/org/bitbiome/commands/CommandListener.java

2
src/main/java/org/bitbiome/commands/CommandListener.java

@ -5,7 +5,7 @@ import java.util.Scanner;
public class CommandListener { public class CommandListener {
private HashMap<String, CommandAPI> commands;
private final HashMap<String, CommandAPI> commands;
public CommandListener() { public CommandListener() {
commands = new HashMap<>(); commands = new HashMap<>();

Loading…
Cancel
Save