WorldGuard Build #2282

This is not a stable download!

We recommend the use of released versions whenever possible.

View Stable Downloads
ProjectWorldGuard
StatusSUCCESS
Branchversion/7.0.x
Number#2282-1bfae45
Date4 months ago
Changes
IDSummaryCommitterDate
1bfae454Merge pull request #2089 from EngineHub/feat/mc-1.21 * Fix compilation for MC 1.21. Nothing tested yet. * Update Materials.java with 1.21 tags and materials * Fix ItemStack conversion on block place on MC 1.21 (#2093) * 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. * Use ItemStack as-is. Closes #2092. * Fix ItemStack conversion for spigot compatibility * Special handling for WindCharges * Do not call as a bulk event, because it has to check every blocks type * WindCharge -> AbstractWindCharge * Fix UseBlockFlag for multiple uses at the same time, add windburst-flag * Cleanup code * 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>wizjany4 months ago
b269d7e2Handle vaults as use, crafters as chest-access. wizjany4 months ago
af645ea2Cleanup code joo2004 months ago
a5ea5115Fix UseBlockFlag for multiple uses at the same time, add windburst-flag joo2004 months ago
83298796WindCharge -> AbstractWindCharge brokkonaut4 months ago
8aa37e38Do not call as a bulk event, because it has to check every blocks type brokkonaut4 months ago
887f3bfaSpecial handling for WindCharges brokkonaut4 months ago
6898ad86Fix ItemStack conversion for spigot compatibility joo2004 months ago
7783e9aeFix ItemStack conversion on block place on MC 1.21 (#2093) * 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. * Use ItemStack as-is. Closes #2092. --------- Co-authored-by: wizjany <wizjany@gmail.com>lennart4 months ago
2bd426baUpdate Materials.java with 1.21 tags and materials joo2004 months ago
27f00959Fix compilation for MC 1.21. Nothing tested yet. wizjany4 months ago