mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
Fixed offline player UUID cache issue.
This commit is contained in:
parent
1fd8b18d6f
commit
f116b13cc7
7 changed files with 17 additions and 24 deletions
|
@ -671,7 +671,6 @@ public class SQLManager implements AbstractDB {
|
|||
if (element.contains(":")) {
|
||||
final String[] split = element.split(":");
|
||||
try {
|
||||
System.out.print("NEW FLAG] "+element);
|
||||
flags.add(new Flag(FlagManager.getFlag(split[0], true), split[1].replaceAll("\u00AF", ":").replaceAll("<EFBFBD>", ",")));
|
||||
} catch (final Exception e) {
|
||||
e.printStackTrace();
|
||||
|
@ -755,7 +754,6 @@ public class SQLManager implements AbstractDB {
|
|||
final PreparedStatement stmt = SQLManager.this.connection.prepareStatement("UPDATE `" + SQLManager.this.prefix + "plot_settings` SET `flags` = ? WHERE `plot_plot_id` = ?");
|
||||
stmt.setString(1, flag_string.toString());
|
||||
stmt.setInt(2, getId(world, plot.id));
|
||||
System.out.print(stmt.toString());
|
||||
stmt.execute();
|
||||
stmt.close();
|
||||
} catch (final SQLException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue