mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-06-24 13:54:51 +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) {
|
||||
this.renameTableSQL = string.replaceAll(TABLE_NAME, tableName).replaceAll("\\[oldTableName\\]", oldTableName);
|
||||
this.renameTableSQL = string.replace(TABLE_NAME, tableName).replace("\\[oldTableName\\]", oldTableName);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user