mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Implement missing methods
This commit is contained in:
@ -436,6 +436,15 @@ public class AsyncWorld extends PassthroughExtent implements World {
|
||||
return TaskManager.IMP.sync(() -> parent.dropItem(location, item));
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public Item dropItem(
|
||||
@NotNull Location location,
|
||||
@NotNull ItemStack item,
|
||||
@Nullable Consumer<Item> function) {
|
||||
return TaskManager.IMP.sync(() -> parent.dropItem(location, item));
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public Item dropItemNaturally(
|
||||
@ -446,6 +455,16 @@ public class AsyncWorld extends PassthroughExtent implements World {
|
||||
return TaskManager.IMP.sync(() -> parent.dropItemNaturally(location, item));
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public Item dropItemNaturally(
|
||||
@NotNull
|
||||
Location location,
|
||||
@NotNull ItemStack item,
|
||||
@Nullable Consumer<Item> function) {
|
||||
return TaskManager.IMP.sync(() -> parent.dropItemNaturally(location, item));
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public Arrow spawnArrow(
|
||||
|
Reference in New Issue
Block a user