Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
compare: c600eeb658
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/com/alecgorge/minecraft/jsonapi/JSONAPI.java
View
4 src/com/alecgorge/minecraft/jsonapi/JSONAPI.java
@@ -283,7 +283,7 @@ public void onEnable() {
authfile.delete();
authfile2.delete();
} else if (yamlFile.exists()) {
- YamlConfiguration yamlConfig = new YamlConfiguration();
+ yamlConfig = new YamlConfiguration();
yamlConfig.load(yamlFile); // VERY IMPORTANT
logging = yamlConfig.getBoolean("options.log-to-console", true);
@@ -462,7 +462,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String commandLabel,
String password = args[3];
getJSONServer().getLogins().put(username, password);
-
+
yamlConfig.set("logins", getJSONServer().getLogins());
yamlConfig.save(yamlFile);

No commit comments for this range

Something went wrong with that request. Please try again.