mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Restore entity counter to //remove and grammatified //butcher similarly.
This commit is contained in:
parent
372a520382
commit
d1631a9ca4
@ -436,11 +436,7 @@ public class UtilityCommands {
|
||||
killed += visitor.getAffected();
|
||||
}
|
||||
|
||||
if (radius < 0) {
|
||||
actor.print("Killed " + killed + " mobs.");
|
||||
} else {
|
||||
actor.print("Killed " + killed + " mobs in a radius of " + radius + ".");
|
||||
}
|
||||
actor.print("Killed " + killed + (killed != 1 ? " mobs" : "mob") + (radius < 0 ? "" : "in a radius of " + radius) + ".");
|
||||
|
||||
if (editSession != null) {
|
||||
session.remember(editSession);
|
||||
@ -500,7 +496,7 @@ public class UtilityCommands {
|
||||
removed += visitor.getAffected();
|
||||
}
|
||||
|
||||
actor.print("Marked " + (removed != 1 ? "entities" : "entity") + " for removal.");
|
||||
actor.print("Marked " + removed + (removed != 1 ? " entities" : " entity") + " for removal.");
|
||||
|
||||
if (editSession != null) {
|
||||
session.remember(editSession);
|
||||
|
Loading…
Reference in New Issue
Block a user