Skip to content
This repository was archived by the owner on Aug 13, 2022. It is now read-only.

Commit 258fa68

Browse files
committed
patch 2.1.5
patched an issue that prevents worldedit from working correctly
1 parent 293fa04 commit 258fa68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

WG7/src/main/java/io/github/invvk/wgef/v7/worldedit/WGEFExtentHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public <T extends BlockStateHolder<T>> boolean setBlock(BlockVector3 location, T
3939
ApplicableRegionSet regions = WGEFUtils.getFork().getRegionContainer().get(this.weWorld)
4040
.getApplicableRegions(location);
4141
StateFlag.State state = WGEFUtils.queryState(this.player, this.world, regions.getRegions(), WGEFlags.WORLD_EDIT);
42-
if (WGEFUtils.isDeny(state))
42+
if (!WGEFUtils.isDeny(state))
4343
return super.setBlock(location, block);
4444
return false;
4545
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
}
1010

1111
group 'io.github.invvk'
12-
version '2.1.4'
12+
version '2.1.5'
1313

1414
repositories {
1515
mavenCentral()

0 commit comments

Comments
 (0)