I've noticed, when registering "unbreaking" in Enchantment.php, there's no Enchantment::SLOT_SWORD on both primary and secondary item slots.
I think it's a very easy to fix and should be fixed.
@TheAz928 you are not using the issue template, please update this issue and use the corresponding issue template
I don't know Your PocketMine-MP version
This issue is not related to game play nor features, so why should I use template?
the template exists for a reason, it should always be used.
I think the issue templates are garbage. GitHub should introduce a more interactive way to create issues.
Most helpful comment
the template exists for a reason, it should always be used.