Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class AutomataItemSuckPlugin(automataCore: BaseAutomataCorePeripheral) : Automat
}
val items: List<ItemEntity> = items
if (items.isEmpty()) {
MethodResult.of(null, "Nothing to take")
return@IPeripheralFunction MethodResult.of(null, "Nothing to take")
}
var requiredQuantity = requiredQuantityArg
for (entity in items) {
Expand Down