Browse Source

Unnecessary cast

master
MagicBot 2 years ago
parent
commit
6ce964ef18
  1. 2
      src/engine/db/handlers/dbEnchantmentHandler.java

2
src/engine/db/handlers/dbEnchantmentHandler.java

@ -28,7 +28,7 @@ public class dbEnchantmentHandler extends dbHandlerBase {
try (Connection connection = DbManager.getConnection(); try (Connection connection = DbManager.getConnection();
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `dyn_item_enchantment` WHERE `ItemID`=?;")) { PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `dyn_item_enchantment` WHERE `ItemID`=?;")) {
preparedStatement.setLong(1, (long) id); preparedStatement.setLong(1, id);
ResultSet rs = preparedStatement.executeQuery(); ResultSet rs = preparedStatement.executeQuery();

Loading…
Cancel
Save