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:
Ursprung
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(
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren