Added Brew Sealing: Equalize Brews for Shops

Craftable Brew Sealing Table
Equalizes Brews that are similar, for support in Shop Plugins
Sealed Brews are also always unlabeled and immutable
This commit is contained in:
Sn0wStorm
2020-04-05 22:47:46 +02:00
parent 948b843b59
commit 12b0a3c115
13 changed files with 327 additions and 45 deletions
+11 -1
View File
@@ -133,8 +133,18 @@ public class SQLSync {
"PRIMARY KEY (id));");
connector = str;
} catch (SQLException | ClassNotFoundException e) {
e.printStackTrace();
if (P.debug) {
e.printStackTrace();
} else {
P.p.errorLog("SQL Exception occured, set 'debug: true' for more info");
P.p.errorLog(e.getMessage());
Throwable cause = e.getCause();
if (cause != null) {
P.p.errorLog(cause.getMessage());
}
}
return false;
}