mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 05:26:29 +01:00
Don't kill the game if one sign does not work
This commit is contained in:
parent
6cd389c33e
commit
cf362e664b
@ -418,7 +418,13 @@ public class DGameWorld extends DInstanceWorld implements GameWorld {
|
||||
if (sign == null || sign.isOnDungeonInit()) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
sign.initialize();
|
||||
} catch (Exception exception) {
|
||||
sign.markAsErroneous("An error occurred while initializing a sign of the type " + sign.getName()
|
||||
+ ". This is not a user error. Please report the following stacktrace to the developer of the plugin:");
|
||||
exception.printStackTrace();
|
||||
}
|
||||
if (sign.isErroneous()) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user