This commit changes the way Equippable wrappers are created, such that they more closely match the way class chest armor pieces are "guessed". That is, instead of looking directly at the Material value of the given item, we instead look at the name _suffix_, i.e. the part after the last underscore in the name, e.g. `BOOTS` in `IRON_BOOTS`. The neat thing about this approach is that it is compatible with future items that follow the same naming convention, such as Netherite armor pieces. The downside is that it is stringly typed and not particularly "pretty", and if the naming convention breaks or new items are introduced (such as the elytra), we will have to make modifications anyway. Fixes #636 |
||
---|---|---|
.github | ||
src | ||
.gitignore | ||
.travis.yml | ||
changelog.md | ||
LICENSE | ||
pom.xml | ||
README.md |
MobArena ![Build Status](https://travis-ci.org/garbagemule/MobArena.svg?branch=master)
MobArena is an arena-style minigame for Spigot-based Minecraft servers
Getting Started
If you don't want to compile the plugin yourself, grab a release artifact from one of these two sites:
The wiki here on Github should have all the information you need to get started using the plugin.
Getting Help
If you run into problems or need help with something, feel free to hop on the MobArena Discord server to have a chat: Instant Invite
Remember, though, that this communication channel is idle chat, which means you likely won't get a response immediately. It could take anything from a couple of seconds to a day, but your message will be seen.
Contributing
Found a bug, got a suggestion, or want to dig into the code base? There are many ways to contribute to the project!
Get started here: Contributing