mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-18 23:27:35 +01:00
Fixed typo where BEACON was COMMAND_BLOCK instead.
This commit is contained in:
parent
942ce95dbf
commit
2e7ecc59c0
@ -694,7 +694,7 @@ private void handleBlockRightClick(PlayerInteractEvent event) {
|
|||||||
|| type == BlockID.BREWING_STAND
|
|| type == BlockID.BREWING_STAND
|
||||||
|| type == BlockID.ENCHANTMENT_TABLE
|
|| type == BlockID.ENCHANTMENT_TABLE
|
||||||
|| type == BlockID.CAULDRON
|
|| type == BlockID.CAULDRON
|
||||||
|| type == BlockID.COMMAND_BLOCK) {
|
|| type == BlockID.BEACON) {
|
||||||
if (!plugin.getGlobalRegionManager().hasBypass(player, world)
|
if (!plugin.getGlobalRegionManager().hasBypass(player, world)
|
||||||
&& !set.canBuild(localPlayer)
|
&& !set.canBuild(localPlayer)
|
||||||
&& !set.allows(DefaultFlag.USE, localPlayer)) {
|
&& !set.allows(DefaultFlag.USE, localPlayer)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user