mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
fix provider name in exception
This commit is contained in:
@@ -120,7 +120,7 @@ public final class SkinRestorer {
|
|||||||
)
|
)
|
||||||
.thenApplyAsync(result -> {
|
.thenApplyAsync(result -> {
|
||||||
if (result.isEmpty())
|
if (result.isEmpty())
|
||||||
throw new IllegalArgumentException("provider " + context.argument() + " is not registered");
|
throw new IllegalArgumentException("provider " + context.name() + " is not registered");
|
||||||
|
|
||||||
var skinResult = result.get();
|
var skinResult = result.get();
|
||||||
if (skinResult.isError())
|
if (skinResult.isError())
|
||||||
|
|||||||
Reference in New Issue
Block a user