if ( !abandonedIds.isEmpty() )
{
CommandList commands = commandMap.get( entry.getKey() );
for ( Long id : abandonedIds )
{
RemoveCommand command = new RemoveCommand( entry.getKey(), entry.getKey().entityTypeByte, id, null, null );
addCommand( command );
commands.add( command );
}
abandonedIds.clear();
}