From 59c227b49a824b5b9ff0604827da46c4faed3fa5 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 31 Dec 2020 15:32:00 +0000 Subject: [PATCH] actually fix AsyncBlock --- .../boydti/fawe/bukkit/wrapper/AsyncBlock.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncBlock.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncBlock.java index d9663e2f3..ad4b44712 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncBlock.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncBlock.java @@ -314,6 +314,21 @@ public class AsyncBlock implements Block { return world.getBlock(x, y, z).getMaterial().isLiquid(); } + @Override + public boolean isBuildable() { + return this.getUnsafeBlock().isBuildable(); + } + + @Override + public boolean isBurnable() { + return this.getType().isBurnable(); + } + + @Override + public boolean isReplaceable() { + return this.getUnsafeBlock().isReplaceable(); + } + @Override public double getTemperature() { return this.getWorld().getTemperature(this.getX(), this.getZ());