refactored out dependency

This commit is contained in:
MagicBot committed 2024-04-05 08:53:18 -04:00
1 parent 0b4873a522
commit 43b212ed42
4 files changed
+19 -12

No files matched your search

@@ -135,7 +135,7 @@ public class dbContractHandler extends dbHandlerBase {
preparedStatement.setInt(5, (con.getVendorDialog() != null) ? con.getVendorDialog().getObjectUUID() : 0);
preparedStatement.setInt(6, con.getIconID());
preparedStatement.setInt(8, con.getObjectUUID());
preparedStatement.setLong(7, con.getAllowedBuildings().toLong());
preparedStatement.setLong(7, mbEnums.toLong(con.getAllowedBuildings()));
return (preparedStatement.executeUpdate() > 0);