15698d3eee
Instead of relying on the evolving Material enum values, we can use the new BlockData API as advised by some of the folks "in the know". It is unclear how much of a performance impact the the "block data gathering" and `instanceof` checks incur, but this is a pretty secluded place in the code base, so probably nothing to worry about. An alternative solution could have been to check if the _name_ of the Material equals "SIGN" or "WALL_SIGN", or ends with "_SIGN". That should cover all cases in a sorta kinda safe manner, but it isn't as resilient as the BlockData/BlockState hierarchies. We could also employ the new Materials utility class and enumerate all sign types by name and just check for membership of the resulting set, but this creates another brittle crash point. |
||
---|---|---|
.github | ||
.mvn/wrapper | ||
src | ||
.gitignore | ||
changelog.md | ||
LICENSE | ||
mvnw | ||
mvnw.cmd | ||
pom.xml | ||
README.md |
MobArena
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