mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-09-29 23:27:30 +02:00
Use replace because it is not a regex
This commit is contained in:
parent
0b042aa1fc
commit
78876926ba
@ -83,7 +83,7 @@ public class SQLConfiguration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SQLConfiguration renameTable(String string) {
|
public SQLConfiguration renameTable(String string) {
|
||||||
this.renameTableSQL = string.replaceAll(TABLE_NAME, tableName).replaceAll("\\[oldTableName\\]", oldTableName);
|
this.renameTableSQL = string.replace(TABLE_NAME, tableName).replace("\\[oldTableName\\]", oldTableName);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user