Fix concurrency issue, remove sqlite from Bungee version and fix join message

This commit is contained in:
Luck
2016-06-28 17:10:01 +01:00
Unverified
parent d35774b401
commit d855be1c65
14 changed files with 47 additions and 55 deletions
@@ -176,7 +176,7 @@ public class FlatfileDatastore extends Datastore {
});
// User updating and loading should be done sync as permission attachments are updated
if (success) plugin.doSync(() -> plugin.getUserManager().updateOrSetUser(user));
if (success) plugin.getUserManager().updateOrSetUser(user);
return success;
}
@@ -210,8 +210,7 @@ public class FlatfileDatastore extends Datastore {
return true;
});
// User updating and loading should be done sync as permission attachments are updated
if (success) plugin.doSync(() -> plugin.getUserManager().updateOrSetUser(user));
if (success) plugin.getUserManager().updateOrSetUser(user);
return success;
}
@@ -149,7 +149,7 @@ abstract class SQLDatastore extends Datastore {
});
// User updating and loading should be done sync as permission attachments are updated
if (success) plugin.doSync(() -> plugin.getUserManager().updateOrSetUser(user));
if (success) plugin.getUserManager().updateOrSetUser(user);
return success;
}
@@ -191,7 +191,7 @@ abstract class SQLDatastore extends Datastore {
});
// User updating and loading should be done sync as permission attachments are updated
if (success) plugin.doSync(() -> plugin.getUserManager().updateOrSetUser(user));
if (success) plugin.getUserManager().updateOrSetUser(user);
return success;
}