diff --git a/WG7/src/main/java/io/github/invvk/wgef/v7/worldedit/WGEFExtentHandler.java b/WG7/src/main/java/io/github/invvk/wgef/v7/worldedit/WGEFExtentHandler.java index 3e001ff..4df8d24 100644 --- a/WG7/src/main/java/io/github/invvk/wgef/v7/worldedit/WGEFExtentHandler.java +++ b/WG7/src/main/java/io/github/invvk/wgef/v7/worldedit/WGEFExtentHandler.java @@ -39,7 +39,7 @@ public > boolean setBlock(BlockVector3 location, T ApplicableRegionSet regions = WGEFUtils.getFork().getRegionContainer().get(this.weWorld) .getApplicableRegions(location); StateFlag.State state = WGEFUtils.queryState(this.player, this.world, regions.getRegions(), WGEFlags.WORLD_EDIT); - if (WGEFUtils.isDeny(state)) + if (!WGEFUtils.isDeny(state)) return super.setBlock(location, block); return false; } diff --git a/build.gradle b/build.gradle index 2ad917a..2e803c0 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ plugins { } group 'io.github.invvk' -version '2.1.4' +version '2.1.5' repositories { mavenCentral()