mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Check for null
This commit is contained in:
@ -2107,7 +2107,7 @@ public class SQLManager implements AbstractDB {
|
||||
addPlotTask(plot, new UniqueStatement("setPosition") {
|
||||
@Override
|
||||
public void set(PreparedStatement stmt) throws SQLException {
|
||||
stmt.setString(1, position);
|
||||
stmt.setString(1, position == null ? "" : position);
|
||||
stmt.setInt(2, getId(plot));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user