Skip to content

Commit

Permalink
Tidied up a debug message that was being shown to the user.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Mar 30, 2014
1 parent cbd8468 commit 6fb9cc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void onWorldLoad(PlayerChangedWorldEvent event) {
Double oldBalance = econ.getBalance(player.getName());
Double newBalance = 0.0; // Always zero to start - in future change to a config value
//player.sendMessage(ChatColor.GOLD + "You changed world!!");
player.sendMessage(String.format("Your old world balance was %s", econ.format(oldBalance)));
logIt("Your old world balance was " + econ.format(oldBalance));
// Create a new player file if one does not exist
playerFile = new File(getDataFolder() + "/userdata", player.getName() + ".yml");
if (playerFile.exists()) {
Expand Down

0 comments on commit 6fb9cc4

Please sign in to comment.