mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-11-24 12:16:36 +01:00
Hide item serialization errors unless using development branch
This commit is contained in:
parent
4af95632d5
commit
d4cc7ec729
@ -579,9 +579,11 @@ public class Util extends Queue {
|
||||
bos.close();
|
||||
result = bos.toByteArray();
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Exception e) { // only display exception on development branch
|
||||
if (!ConfigHandler.EDITION_BRANCH.contains("-dev")) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user