geforkt von Mirrors/Paper
6d88d545e9
We used to fall Item.filterData() for this but that method is meant for converting item data to block data during placement and does the wrong thing for this case. Instead we just see if the item should have data and if not set it to zero. We also have to filter wool data explicitly because clients crash when given invalid wool data. |
||
---|---|---|
.. | ||
java | ||
resources/configurations |