Browse Source

Unused methods removed

master
MagicBot 2 years ago
parent
commit
563b54de14
  1. 12
      src/engine/db/handlers/dbItemHandler.java

12
src/engine/db/handlers/dbItemHandler.java

@ -69,18 +69,6 @@ public class dbItemHandler extends dbHandlerBase {
return null; return null;
} }
public boolean DELETE_ITEM(final Item item) {
prepareCallable("DELETE FROM `object` WHERE `UID`=? && `type`='item' limit 1");
setLong(1, (long) item.getObjectUUID());
return (executeUpdate() > 0);
}
public boolean DELETE_ITEM(final int itemUUID) {
prepareCallable("DELETE FROM `object` WHERE `UID`=? && `type`='item' limit 1");
setLong(1, (long) itemUUID);
return (executeUpdate() > 0);
}
public String GET_OWNER(int ownerID) { public String GET_OWNER(int ownerID) {
prepareCallable("SELECT `type` FROM `object` WHERE `UID`=?"); prepareCallable("SELECT `type` FROM `object` WHERE `UID`=?");
setLong(1, (long) ownerID); setLong(1, (long) ownerID);

Loading…
Cancel
Save