Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The code compiles, but I haven't checked if it causes any errors. #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Tamago4a
Copy link

  • Updated all nugets.
  • Updated all events that have changed during this time.
  • Ran through the code analyzer and fixed all syntax problems.
  • Fixed the problem with incorrect display of the number of players. Now the bot does not take into account NPCs.

Tamago4a and others added 5 commits October 19, 2024 18:01
This reverts commit fb86e3a.
- Updated all nugets.
- Updated all events that have changed during this time.
- Ran through the code analyzer and fixed all syntax problems.
- Fixed the problem with incorrect display of the number of players. Now the bot does not take into account NPCs.
Copy link
Member

@VladTheCow VladTheCow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not change the code style, the intend should be equal to 4

@Tamago4a
Copy link
Author

Please do not change the code style, the intend should be equal to 4

The code analyzer found this style incorrect, and I agree with it. What is "intend"?

@VladTheCow
Copy link
Member

Please do not change the code style, the intend should be equal to 4

The code analyzer found this style incorrect, and I agree with it. What is "intend"?

It's how many spaces you have to put before the code after the construction (it was 4, but you changed it to 2, which is bad)

@Tamago4a
Copy link
Author

Tamago4a commented Dec 20, 2024

Please do not change the code style, the intend should be equal to 4

The code analyzer found this style incorrect, and I agree with it. What is "intend"?

It's how many spaces you have to put before the code after the construction (it was 4, but you changed it to 2, which is bad)

I'm afraid you're mistaken. These are not 8 spaces. These are tabs. Try to highlight these "spaces" in your browser and you'll understand. And I repeat, this was done by the code analyzer made by Microsoft developers. I think they are competent enough to know about the correctness of the code style.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants