Fix build error.

This commit is contained in:
bloodshot 2020-05-06 22:54:48 -04:00
parent 0f1882c387
commit 973c45d1ee
3 changed files with 3 additions and 1 deletions

View File

@ -634,7 +634,7 @@ public class PlayerEventHandler implements Listener {
return;
}
} else if (event instanceof PlayerBucketFillEvent) {
// check block place
// check block break
result = GDPermissionManager.getInstance().getFinalPermission(event, location, claim, Flags.BLOCK_BREAK, source, event.getBlockClicked(), player, TrustTypes.BUILDER, true);
if (result == Tristate.FALSE) {
event.setCancelled(true);

View File

@ -88,5 +88,6 @@ public class FlagContexts {
public static final Context TARGET_TYPE_VEHICLE = new Context(ContextKeys.TARGET, "#vehicle");
public static final Context USED_ITEM_LAVA_BUCKET = new Context(ContextKeys.USED_ITEM, "minecraft:lava_bucket");
public static final Context USED_ITEM_VEHICLE = new Context(ContextKeys.USED_ITEM, "#vehicle");
public static final Context USED_ITEM_WATER_BUCKET = new Context(ContextKeys.USED_ITEM, "minecraft:water_bucket");
}

View File

@ -88,5 +88,6 @@ public class FlagContexts {
public static final Context TARGET_TYPE_VEHICLE = new Context(ContextKeys.TARGET, "#vehicle");
public static final Context USED_ITEM_LAVA_BUCKET = new Context(ContextKeys.USED_ITEM, "minecraft:lava_bucket");
public static final Context USED_ITEM_VEHICLE = new Context(ContextKeys.USED_ITEM, "#vehicle");
public static final Context USED_ITEM_WATER_BUCKET = new Context(ContextKeys.USED_ITEM, "minecraft:water_bucket");
}