3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

Implement missing methods

Dieser Commit ist enthalten in:
NotMyFault 2021-03-09 12:41:05 +01:00
Ursprung a27d1667d5
Commit cde52f9f35
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

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