Implement missing methods

This commit is contained in:
NotMyFault 2021-03-09 12:41:05 +01:00
parent a27d1667d5
commit cde52f9f35
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -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(