Open dktapps opened 5 years ago
I noticed that too 🤔
can't we not just add in src/pocketmine/tile/Banner.php PATTERN_ILLAGER and add the colors to it
No, it's not that simple. Mojang specialized this one for reasons I'm not clear on.
oh ok
Okey.
With the new serializer architecture in PM5, it should be possible to implement this as a separate item, avoiding the conditionally useless / broken pattern APIs for illager banners.
Issue description
Illager banner appears to use a non-standard method to define its pattern in NBT, which is not recognized by PM. This leads to the placement of a regular white banner when placing an illager banner.
This is considered a bug because the item appears in the creative inventory, but doesn't work as designed.
Steps to reproduce the issue
OS and versions