Fix FAVS undo count

This commit is contained in:
NotMyFault 2019-06-12 14:51:10 +02:00
parent fb0bb62180
commit 6f9fa018b2
2 changed files with 1 additions and 2 deletions

View File

@ -507,7 +507,7 @@ public class Sniper {
count++; count++;
} }
if (count > 0) { if (count > 0) {
BBC.COMMAND_UNDO_SUCCESS.send(fp); BBC.COMMAND_UNDO_SUCCESS.send(fp, count == 1 ? "" : " x" + count);
} else { } else {
BBC.COMMAND_UNDO_ERROR.send(fp); BBC.COMMAND_UNDO_ERROR.send(fp);
} }

View File

@ -27,7 +27,6 @@ public class VoxelUndoCommand extends VoxelCommand {
} else { } else {
sniper.undo(); sniper.undo();
} }
// plugin.getLogger().info("Player \"" + player.getName() + "\" used /u");
return true; return true;
} }
} }