mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 01:21:21 +01:00
Remove fancy error printing. Just print raw error.
This commit is contained in:
parent
3b2c6c70fd
commit
ab6799c159
@ -1,6 +1,5 @@
|
||||
package world.bentobox.bentobox;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.stream.Collectors;
|
||||
@ -188,7 +187,8 @@ public class BentoBox extends JavaPlugin {
|
||||
islandsManager.load();
|
||||
} catch (Exception e) {
|
||||
logError("*****************CRITIAL ERROR!******************");
|
||||
Arrays.stream(e.getMessage().split("[\n\r]+")).forEach(this::logError);
|
||||
logError(e.getMessage());
|
||||
//Arrays.stream(e.getMessage().split("[\n\r]+")).forEach(this::logError);
|
||||
logError("Could not load islands! Disabling BentoBox...");
|
||||
logError("*************************************************");
|
||||
// Stop all addons
|
||||
|
Loading…
Reference in New Issue
Block a user