Allow console to ignore repeated commands
@@ -198,6 +198,7 @@ public boolean execute(String rawCommand, EntityRef callingClient) {
ClientComponent cc = callingClient.getComponent(ClientComponent.class);
if (cc.local) {
+ if (!rawCommand.isEmpty() && (localCommandHistory.isEmpty() || localCommandHistory.getLast() != rawCommand))
localCommandHistory.add(rawCommand);
}
