Skip to content

Commit

Permalink
Version 1.0.0 - Release.
Browse files Browse the repository at this point in the history
Added quotes around world name in output.
  • Loading branch information
501st-alpha1 committed Nov 12, 2012
1 parent b8bc3aa commit fb22c20
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file modified com/scott_weldon/xp_to_emerald/XPtoEmerald.class
Binary file not shown.
5 changes: 2 additions & 3 deletions com/scott_weldon/xp_to_emerald/XPtoEmerald.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public boolean setScale(CommandSender sender, int scale, String world) {
}
this.saveConfig();
String worldName = (world == null) ? "all (default) worlds."
: ("world " + world);
: ("world \"" + world + "\"");
sender.sendMessage("Scale set to " + scale + " for " + worldName);
return true;
}
Expand Down Expand Up @@ -324,7 +324,7 @@ public boolean setMaterial(CommandSender sender, String material, String world)
}
this.saveConfig();
String worldName = (world == null) ? "all (default) worlds."
: ("world " + world);
: ("world \"" + world + "\"");
sender.sendMessage("Material set to " + m.toString() + " for "
+ worldName);
return true;
Expand Down Expand Up @@ -355,7 +355,6 @@ public boolean reload(CommandSender sender) {
this.material = m;

for (String fullPath : configKeys) {
getLogger().log(Level.INFO, fullPath);
String[] splitPath = fullPath.split("\\.");
if (splitPath.length < 2) {
continue;
Expand Down
Binary file added jars/XPtoEmerald-1.0.0.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: XP to Emerald
main: com.scott_weldon.xp_to_emerald.XPtoEmerald
version: 1.0-dev
version: 1.0.0
commands:
xptoemerald:
description: Convert some XP to Emeralds.
Expand Down

0 comments on commit fb22c20

Please sign in to comment.