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

Inventory bug #3

Open
QiZD90 opened this issue Feb 17, 2018 · 3 comments
Open

Inventory bug #3

QiZD90 opened this issue Feb 17, 2018 · 3 comments

Comments

@QiZD90
Copy link
Contributor

QiZD90 commented Feb 17, 2018

Continuous swapping of an item from the hand with an item of the same type from the inventory leads to either the Transaction failed error or a segfault (here is log from GDB: Thread 1 "AltCraft" received signal SIGSEGV, Segmentation fault. 0x000000000043bb40 in World::GetEntity(unsigned int) () ).

@QiZD90
Copy link
Contributor Author

QiZD90 commented Feb 17, 2018

Though the current behaviour of the inventory, when new items don't stack with items in the hand, is strange by itself.

@QiZD90
Copy link
Contributor Author

QiZD90 commented Feb 17, 2018

And the content of the hand remains even after death.

@LaG1924
Copy link
Owner

LaG1924 commented Feb 18, 2018

In fact, the inventory is completely broken. I stopped working on it, after some discrepancies between the protocol description and the server behavior.
Inventory will be corrected and implemented after work on the placement of blocks and basic lighting.

At the moment it's better not to use it at all.

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

No branches or pull requests

2 participants