actually fix AsyncBlock

This commit is contained in:
dordsor21 2020-12-31 15:32:00 +00:00
parent 935130aa0e
commit 59c227b49a
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -314,6 +314,21 @@ public class AsyncBlock implements Block {
return world.getBlock(x, y, z).getMaterial().isLiquid(); 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 @Override
public double getTemperature() { public double getTemperature() {
return this.getWorld().getTemperature(this.getX(), this.getZ()); return this.getWorld().getTemperature(this.getX(), this.getZ());