From cde52f9f35f22012be59495d621273c390347f26 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 9 Mar 2021 12:41:05 +0100 Subject: [PATCH] Implement missing methods --- .../fawe/bukkit/wrapper/AsyncWorld.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncWorld.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncWorld.java index e7a31fc51..e7d351d38 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncWorld.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/AsyncWorld.java @@ -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 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 function) { + return TaskManager.IMP.sync(() -> parent.dropItemNaturally(location, item)); + } + @Override @NotNull public Arrow spawnArrow(