mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 08:59:01 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user