Use table prefix when deleting from region_poly2d_point.

This commit is contained in:
zreed 2014-07-29 21:11:44 -04:00
parent e44875532d
commit 26ac987024

View File

@ -1029,7 +1029,7 @@ private void updatePoly2dPoints(ProtectedPolygonalRegion region) throws SQLExcep
try {
clearPoly2dPointsForRegionStatement = this.conn.prepareStatement(
"DELETE FROM `region_poly2d_point` " +
"DELETE FROM `" + config.sqlTablePrefix + "region_poly2d_point` " +
"WHERE `region_id` = ? " +
"AND `world_id` = " + this.worldDbId
);