mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
Fix wg bugs
Former-commit-id: 471c6f7b7c8b6c54e817d400cfd827ad96f4e912
This commit is contained in:
1 parent
7cf0f163dd
commit
68c079d980
1 file changed
+1
-1
+1
-1
@@ -129,7 +129,7 @@ public class WorldGuardIntegration implements IntegratedPlugin {
|
||||
}
|
||||
RegionContainer container = WorldGuard.getInstance().getPlatform().getRegionContainer();
|
||||
RegionQuery query = container.createQuery();
|
||||
for (WorldGuardFlags flag : createFlags) {
|
||||
for (WorldGuardFlags flag : tradeFlags) {
|
||||
switch (flag) {
|
||||
case BUILD:
|
||||
if (!query.testState(wgLoc, localPlayer, Flags.BUILD)) {
|
||||
|
||||
Reference in new issue
Block a user