Sorry, lastly what inits the AddCommand class?
Which class calls addItem()?
Dpasi314 I think he meant later on with the executeUpdate(addItem); as per...
Have you tried making a log to make sure the connection isn't null with something like System.out.println("Connection is null: " + (con==null));...
A very polite way of phrasing that. A better way may be to somehow cancel it, or alter the fields inside so that it doesn't return a packet if...
public boolean is_block(int id) { // you have 26 in your method... if((id>0 && id<27)||(id>34&&id<95) return true; else return false; } Would...
Really nice, thanks for this ^^ Looking through the code, could public boolean is_block(int id) { if (id == 0 || id == 1 || id == 2...
Separate names with a comma.