mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Update AsyncWorld.java
This commit is contained in:
parent
fa738504a8
commit
46d24fff0f
@ -45,6 +45,7 @@ import org.bukkit.WorldType;
|
|||||||
import org.bukkit.block.Biome;
|
import org.bukkit.block.Biome;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.data.BlockData;
|
import org.bukkit.block.data.BlockData;
|
||||||
|
import org.bukkit.boss.DragonBattle;
|
||||||
import org.bukkit.entity.AbstractArrow;
|
import org.bukkit.entity.AbstractArrow;
|
||||||
import org.bukkit.entity.Arrow;
|
import org.bukkit.entity.Arrow;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
@ -1198,6 +1199,11 @@ public class AsyncWorld extends PassthroughExtent implements World {
|
|||||||
return TaskManager.IMP.sync(() -> parent.getEntity(uuid));
|
return TaskManager.IMP.sync(() -> parent.getEntity(uuid));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
@Override
|
||||||
|
public DragonBattle getEnderDragonBattle() {
|
||||||
|
return TaskManager.IMP.sync(() -> parent.getEnderDragonBattle());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean createExplosion(Entity source, Location loc, float power, boolean setFire, boolean breakBlocks) {
|
public boolean createExplosion(Entity source, Location loc, float power, boolean setFire, boolean breakBlocks) {
|
||||||
|
Loading…
Reference in New Issue
Block a user