Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
Don't wrap Exception thrown upon invalid schematic path inside a RuntimeException
Fixes #1506
Dieser Commit ist enthalten in:
Ursprung
52fa44516e
Commit
235d0360da
@ -876,8 +876,7 @@ public class UtilityCommands {
|
||||
}
|
||||
try {
|
||||
if (!MainUtil.isInSubDirectory(root, file)) {
|
||||
throw new RuntimeException(
|
||||
new StopExecutionException(TextComponent.of("Invalid path")));
|
||||
throw new StopExecutionException(TextComponent.of("Invalid path"));
|
||||
}
|
||||
} catch (IOException ignored) {
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren