mirror of
https://github.com/Quackster/Havana.git
synced 2025-07-04 05:37:47 +00:00
Fix SQL query for removing hand items
This commit is contained in:
parent
3dc4da3d32
commit
869697bdcc
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ public class ItemDao {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
sqlConnection = Storage.getStorage().getConnection();
|
sqlConnection = Storage.getStorage().getConnection();
|
||||||
preparedStatement = Storage.getStorage().prepare("DELETE items WHERE is_hidden = 0 AND is_trading = 0 AND room_id = 0 AND user_id = ?", sqlConnection);
|
preparedStatement = Storage.getStorage().prepare("DELETE FROM items WHERE is_hidden = 0 AND is_trading = 0 AND room_id = 0 AND user_id = ?", sqlConnection);
|
||||||
preparedStatement.setInt(1, userId);
|
preparedStatement.setInt(1, userId);
|
||||||
preparedStatement.execute();
|
preparedStatement.execute();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue