mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Implement missing methods
This commit is contained in:
parent
a27d1667d5
commit
cde52f9f35
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user