Fixes some minor warnings and spacing
This commit is contained in:
@@ -23,7 +23,7 @@ public class StargateCommand extends JavaPlugin {
|
||||
StargateAPI stargateAPI = stargateProvider.getProvider();
|
||||
|
||||
//Register commands
|
||||
PluginCommand stargateCommand = this.getCommand("stargatecommand");
|
||||
PluginCommand stargateCommand = this.getCommand("stargateCommand");
|
||||
if (stargateCommand != null) {
|
||||
stargateCommand.setExecutor(new CommandStarGateCommand(stargateAPI));
|
||||
stargateCommand.setTabCompleter(new StargateCommandTabCompleter());
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
*/
|
||||
public class CommandStarGateCommand implements CommandExecutor {
|
||||
|
||||
private StargateAPI stargateAPI;
|
||||
private final StargateAPI stargateAPI;
|
||||
|
||||
public CommandStarGateCommand(StargateAPI stargateAPI) {
|
||||
this.stargateAPI = stargateAPI;
|
||||
|
||||
Reference in New Issue
Block a user