-
Notifications
You must be signed in to change notification settings - Fork 52
Fixes all bugs. #78
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
Fixes all bugs. #78
Conversation
Poggit-CI is enabled for this repo by @michoudll Visit the Poggit-CI page for this repo at https://poggit.pmmp.io/ci/Deepslate/MapImageEngine
| $this->data->buffer[$pos++] = chr($color >> 24 & 0xff); | ||
| $this->data->buffer[$pos++] = chr($color >> 16 & 0xff); | ||
| $this->data->buffer[$pos++] = chr($color >> 8 & 0xff); | ||
| $this->data->buffer[$pos] = chr($color & 0xff); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you removed two spaces before the = sign that were present to make the last chr call aligned with the previous ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just used code styles from pmmp. does this affect the final work of the plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No but you shouldn't change the formatting of the code for no reason at all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i changed the formatting back, the author hasn't been here for a long time, so i think nothing will change.
Special for @TheNewHEROBRINEX.
| $this->data->buffer[$pos++] = chr($color & 0xff); | ||
| $this->data->buffer[$pos++] = chr($color >> 8 & 0xff); | ||
| $this->data->buffer[$pos++] = chr($color >> 16 & 0xff); | ||
| $this->data->buffer[$pos] = chr($color >> 24 & 0xff); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here (I didn't notice before)
Currently fully working. Tested on PocketMine-MP 3.21.0