geforkt von Mirrors/FastAsyncWorldEdit
Fix FAVS undo count
Dieser Commit ist enthalten in:
Ursprung
fb0bb62180
Commit
6f9fa018b2
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren