mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Remove silent exceptions
This commit is contained in:
parent
c7a8d74963
commit
13a2d03444
@ -4,6 +4,7 @@ Version 2.1.182
|
|||||||
Fixed several errors in de locale (Thanks TheBusyBiscuit & w1tcherrr)
|
Fixed several errors in de locale (Thanks TheBusyBiscuit & w1tcherrr)
|
||||||
Fixed a bug where double smelt never succeeded if the furnace was empty
|
Fixed a bug where double smelt never succeeded if the furnace was empty
|
||||||
Added some safety so that mcMMO automatic save interval is never more frequent than 1 minute
|
Added some safety so that mcMMO automatic save interval is never more frequent than 1 minute
|
||||||
|
Removed a few "silent" exceptions for scoreboards & mcMMO
|
||||||
|
|
||||||
Version 2.1.181
|
Version 2.1.181
|
||||||
mcMMO no longer pointlessly tries to check for missing UUIDs for FlatFile database
|
mcMMO no longer pointlessly tries to check for missing UUIDs for FlatFile database
|
||||||
|
@ -126,7 +126,8 @@ public class ScoreboardWrapper {
|
|||||||
try {
|
try {
|
||||||
cooldownTask.cancel();
|
cooldownTask.cancel();
|
||||||
}
|
}
|
||||||
catch (Throwable ignored) {
|
catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
cooldownTask = null;
|
cooldownTask = null;
|
||||||
@ -430,8 +431,9 @@ public class ScoreboardWrapper {
|
|||||||
try {
|
try {
|
||||||
updateTask.cancel();
|
updateTask.cancel();
|
||||||
}
|
}
|
||||||
catch (Throwable ignored) {
|
catch (Exception e) {
|
||||||
} // catch NullPointerException and IllegalStateException and any Error; don't care
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
updateTask = null;
|
updateTask = null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user