Ignore arrow combustion.
Closes #2144. (d9716a5b by wizjany)
Use more snapshot-less holders on Paper.
This is already past the debounce so in theory it's not getting hit *often*, but I guess if it's really slow it'll still show up. (a0e397e5 by wizjany)
Actually read the value from config.
Closes #1879
---------
Co-authored-by: wizjany <wizjany@gmail.com> (cb011a88 by ploppyperson)
Merge pull request #2115 from EngineHub/feature/fix-breeze-stuff
Optimize and cleanup explosion events from entities
Fixes #2099 and #2097 (0f3ea504 by wizjany)
Split wind charge into breeze/player flags.
Player flag is build-checked (default false) and breeze flag is not (default true).
Having multiple flags is ugly but if we need every bit of behavior to be manipulable this is the only way. (679b5694 by wizjany)
Fix wind-charge-burst flag for player knockback (9dd7d7c0 by joo200)
Check mob-damage for potion splashes from e.g. witches.
Note that bypass bypasses this if the player with bypass is the target of the potion, but only for the player with bypass.
Fixes #2134. (b73a0a71 by wizjany)
Workaround books no longer sending change block for lecterns.
Fixes #2124. (2ea50689 by wizjany)
Extend use flag to all (trap)doors.
There's no tag which has wood+copper, but iron are not interactable anyway.
Relates to #2130. (aa46529e by wizjany)
Fix NPE for teleport events without target location
Fixes #2111 (8ffc81ad by joo200)
Merge pull request #2100 from aurorasmiles/feat/buildlogic
Port buildlogic from WorldEdit (16ea4625 by wizjany)
A bit of cleanup.
Definitely did not accidentally make a 40MB jar halfway through. (ca49458a by wizjany)
Port build-logic from WorldEdit (57492108 by aurora)
Merge pull request #2089 from EngineHub/feat/mc-1.21 (1bfae454 by wizjany)
Fix compilation for MC 1.21. Nothing tested yet. (1bfae454 by wizjany)
Update Materials.java with 1.21 tags and materials (1bfae454 by wizjany)
Fix ItemStack conversion on block place on MC 1.21 (#2093) (1bfae454 by wizjany)
Fix ItemStack conversion on block place
This issue is present in 1.21 because some materials do not convert 1:1 to item types.
This throws an exception in the ItemStack constructor.
Example: WALL_TORCH is a valid block but not a valid item, only TORCH is a valid item.
So, use the item in hand instead, creating a copy with quantity set to 1, for issueing the
use item event. (1bfae454 by wizjany)
Use ItemStack as-is.
Closes #2092. (1bfae454 by wizjany)
Fix ItemStack conversion for spigot compatibility (1bfae454 by wizjany)
Special handling for WindCharges (1bfae454 by wizjany)
Do not call as a bulk event, because it has to check every blocks type (1bfae454 by wizjany)
WindCharge -> AbstractWindCharge (1bfae454 by wizjany)
Fix UseBlockFlag for multiple uses at the same time, add windburst-flag (1bfae454 by wizjany)
Handle vaults as use, crafters as chest-access.
---------
Co-authored-by: Joo200 <github@joo200.de>
Co-authored-by: Lennart <1535717+lenis0012@users.noreply.github.com>
Co-authored-by: Brokkonaut <hannos17@gmx.de> (1bfae454 by wizjany)
Handle vaults as use, crafters as chest-access. (b269d7e2 by wizjany)
Fix UseBlockFlag for multiple uses at the same time, add windburst-flag (a5ea5115 by joo200)
WindCharge -> AbstractWindCharge (83298796 by brokkonaut)
Do not call as a bulk event, because it has to check every blocks type (8aa37e38 by brokkonaut)
Special handling for WindCharges (887f3bfa by brokkonaut)
Fix ItemStack conversion for spigot compatibility (6898ad86 by joo200)
Fix ItemStack conversion on block place on MC 1.21 (#2093) (7783e9ae by lennart)
Fix ItemStack conversion on block place
This issue is present in 1.21 because some materials do not convert 1:1 to item types.
This throws an exception in the ItemStack constructor.
Example: WALL_TORCH is a valid block but not a valid item, only TORCH is a valid item.
So, use the item in hand instead, creating a copy with quantity set to 1, for issueing the
use item event. (7783e9ae by lennart)
Use ItemStack as-is.
Closes #2092.
---------
Co-authored-by: wizjany <wizjany@gmail.com> (7783e9ae by lennart)
Update Materials.java with 1.21 tags and materials (2bd426ba by joo200)
Fix compilation for MC 1.21. Nothing tested yet. (27f00959 by wizjany)
Fix checking bypass on initialize (#2082) (ead1e1b7 by joni aromaa)
Fix checking bypass on initialize (ead1e1b7 by joni aromaa)
Add SessionManager#createSession back as deprecated (ead1e1b7 by joni aromaa)
Fix silent flag for gameplay commands (#2081) (8b7729e0 by aurora)
Fix silent flag for gameplay commands
This issue has been fixed in CommandBook with
https://github.com/EngineHub/CommandBook/commit/644803182ed1765a9862d0a0cd0d3763d399efee
but never in WorldGuard.
Co-authored-by: Wyatt Childers <DarkArc@users.noreply.github.com> (8b7729e0 by aurora)
Renamed InvalidFlagFormat to InvalidFlagFormatException (bb3fdcc8 by joo200)
apidomains: Added custom domains to WorldGuard
This change allows third party plugins to dynamically add custom domains to WorldGuard. (8d5953a5 by joo200)
Check movement on AbstractHorse instead of Horse.
Not tested cuz I don't know how to enable camels, but in theory this should work for that. (feb548aa by wizjany)
Protect against allay pickups and modification.
Closes #1923. (961461c2 by wizjany)
Treat tameables with offline owners as unknown causes.
Paper-only.
Closes #1900. (ad6d5af5 by wizjany)
Make region wand act more like /rg info.
Addresses the part that #1534 and #1817 missed. (7ae7a047 by wizjany)
Add dragon egg teleporting to build protection.
Closes #1977. (40adfe9c by wizjany)
Remove timings for third-party session handlers
Reverted MR #1717 (78498491 by joo200)
Fix NPE when non-player entities create new nether portals (#1995) (ca636d20 by stonar96)
Fix NPE when non-player entities create new nether portals (ca636d20 by stonar96)
Fix flag checking for portal create event (ca636d20 by stonar96)