diff --git a/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java b/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java index 79218ed02..7b4b21c53 100644 --- a/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java @@ -71,7 +71,7 @@ public class McremoveCommand implements CommandExecutor { +LoadProperties.MySQLtablePrefix+"experience WHERE " +LoadProperties.MySQLtablePrefix+"experience.user_id="+userId); - System.out.println("User "+playerName+" removed from MySQL DB!"); + sender.sendMessage("User "+playerName+" removed from MySQL DB!"); } else { //FlatFile removal //TODO: Properly remove users from FlatFile, it's going to be a huge bitch with how our FlatFile system works. Let's adopt SQLite support. @@ -81,6 +81,7 @@ public class McremoveCommand implements CommandExecutor { if(targetPlayer.isOnline()) { Users.getProfile(targetPlayer).resetAllData(); + sender.sendMessage("User "+playerName+" removed from FlatFile DB!"); } else { sender.sendMessage("[mcMMO] This command is not fully functional for FlatFile yet, the player needs to be online."); return true; @@ -106,6 +107,8 @@ public class McremoveCommand implements CommandExecutor { Users.removeUserByName(playerName); } + sender.sendMessage("[mcMMO] mcremove operation completed."); + return true; } } \ No newline at end of file