* Fix sponge absorbing water across plot borders
* Shorten for-loops by using removeIf
* Use 'Location' instead of 'var'
Co-authored-by: NotMyFault <mc.cache@web.de>
* Minor work for 1.17
* Address TODOs
Introduce `entity-change-block` flag covering blocks affected by `onPeskyMobsChangeTheWorldLikeWTFEvent`. Previously this was covered by the mob-place flag, however, changing the tilt state of big drip leafs and a series of other blocks call `EntityChangeBlockEvent` so this shouldn't be covered by mob flags only.
* Address other TODOs
* Compile against paper 1.17
This will only work if you built paper locally and deployed it to your local maven repo.
* Updated linked javadoc links
* Handle sculk sensor events in a more controllable way
* Update issue forms for 1.17
- Ditch slf4j in favor of log4j. slf4j is (unfortunately) very much unmaintained at this time and future versions of MC (1.17+) will use log4j version 2.14.1 onwards over some ancient sfl4j version.
- Using log4j reduces our jar size as well, because we don't need to bridge it as the game provides it natively.
* Replaced economy supported (Vault) check within cost condition with a pre-eliminating if-guard
* Negate mob-place flag debug message
* Actually prevent purchase of plots if they can't afford it (whoops)
Co-authored-by: NotMyFault <mc.cache@web.de>
* Added check for burning players using non-trusted plots cauldrons to extinguish themselves, causing the cauldron level to decrease
* Cancelling burning of players without downscaling water instead of ignoring their burn status
* Using Java 14 JEP 305 enhanced instanceOf
Co-authored-by: NotMyFault <mc.cache@web.de>
* Players without permissions may not wash banners or armor now either. Rain modification is now permitted.
* Extinguishing is now explicitly handled so that event handling for other plugins has the actual information of the new cauldron water level
* Un-nestified the if-condition :)
* Properly cancelled the event (since it is semantically cancelled)
* (Actually) properly cancelled the event (since it is semantically cancelled)
Co-authored-by: NotMyFault <mc.cache@web.de>
- Addressing a few command deprecations during the major release superseded by toggles
- Don't swallow SQL warnings in loggers behind debug, as it's often set to false
- Deleted JavaVersionCheck, it's part of ServerLib.