mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
Merge pull request #2360 from EngineHub/improve-error-behaviour
Improve error behaviour of //generate
This commit is contained in:
commit
1514661d72
@ -2240,9 +2240,10 @@ protected BaseBlock getMaterial(int x, int y, int z, BaseBlock defaultMaterial)
|
||||
} catch (ExpressionTimeoutException e) {
|
||||
timedOut[0] = timedOut[0] + 1;
|
||||
return null;
|
||||
} catch (RuntimeException e) {
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
LOGGER.warn("Failed to create shape", e);
|
||||
return null;
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user