Update AsyncWorld.java

Dieser Commit ist enthalten in:
IronApollo 2020-03-26 17:11:07 -04:00
Ursprung fa738504a8
Commit 46d24fff0f

Datei anzeigen

@ -45,6 +45,7 @@ import org.bukkit.WorldType;
import org.bukkit.block.Biome;
import org.bukkit.block.Block;
import org.bukkit.block.data.BlockData;
import org.bukkit.boss.DragonBattle;
import org.bukkit.entity.AbstractArrow;
import org.bukkit.entity.Arrow;
import org.bukkit.entity.Entity;
@ -1198,6 +1199,11 @@ public class AsyncWorld extends PassthroughExtent implements World {
return TaskManager.IMP.sync(() -> parent.getEntity(uuid));
}
@Nullable
@Override
public DragonBattle getEnderDragonBattle() {
return TaskManager.IMP.sync(() -> parent.getEnderDragonBattle());
}
@Override
public boolean createExplosion(Entity source, Location loc, float power, boolean setFire, boolean breakBlocks) {