mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
Fix FAVS undo count
This commit is contained in:
parent
fb0bb62180
commit
6f9fa018b2
@ -507,7 +507,7 @@ public class Sniper {
|
||||
count++;
|
||||
}
|
||||
if (count > 0) {
|
||||
BBC.COMMAND_UNDO_SUCCESS.send(fp);
|
||||
BBC.COMMAND_UNDO_SUCCESS.send(fp, count == 1 ? "" : " x" + count);
|
||||
} else {
|
||||
BBC.COMMAND_UNDO_ERROR.send(fp);
|
||||
}
|
||||
|
@ -27,7 +27,6 @@ public class VoxelUndoCommand extends VoxelCommand {
|
||||
} else {
|
||||
sniper.undo();
|
||||
}
|
||||
// plugin.getLogger().info("Player \"" + player.getName() + "\" used /u");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user