Using /give with large data value on wool crashes game
When using the command "/give PLAYERNAME 35 1 700", which translates to wool with a data value of 700, it crashes the game. Now creating a wool block with data value of 700 is silly but I wouldn't expect it would crash just ignore my data value. If you were to do the same with glass (block 20) it will ignore you and give you data value of 0. After crashing out I just tried to reconnect and I believe the faulty entity is still around and it crashes me out immediately. Apologies if this is a dupe I have searched and did not found anything smiler.
Environment
Linux ubuntu 64bit (both server and client). Latest java 1.7. It is also a bit snowy outside... ![]()
Linked Issues
duplicates1
Created Issue:
Using /give with large data value on wool crashes game
When using the command "/give PLAYERNAME 35 1 700" which translates to wool with a data value of 700 it crashes the game. Now creating a wool block with data value of 700 is silly but I wouldn't expect it would crash just ignore my data value. If you were to do the same with glass (block 20) it will ignore you and give you data value of 0. After crashing out I just tried to reconnect and I believe the faulty entity is still around and it crashes me out immediately. Apologies if this is a dupe I have searched and did not found anything smiler.
Environment
Linux ubuntu 64bit (both server and client). Latest java 1.7. It is also a bit snowy outside...
- Unresolved
- Open
- Unconfirmed
- Creative
- data_values entites wool
- 13w03a
When using the command "/give PLAYERNAME 35 1 700", which translates to wool with a data value of 700, it crashes the game. Now creating a wool block with data value of 700 is silly but I wouldn't expect it would crash just ignore my data value. If you were to do the same with glass (block 20) it will ignore you and give you data value of 0. After crashing out I just tried to reconnect and I believe the faulty entity is still around and it crashes me out immediately. Apologies if this is a dupe I have searched and did not found anything smiler.
is duplicated by
duplicates
is duplicated by
Duplicate of MC-7820, please use the search function to see if your bug has already been submitted. Currently over 51% of tickets are being closed as duplicate.
If I delete my player.dat file it allows me to login with no problems; however the bug still exists when I then try it again
I found the same problem. It looks as if giving a wool with a damage value over 15 results in an OutOfBounds exception. After this happens, the only way to fix the level is to remove that item from the level.dat, otherwise the level is unplayable.
Note: