cleanup & fix build

This commit is contained in:
Luck
2017-10-29 20:37:29 +00:00
Unverified
parent dee41b315f
commit 230d9725e8
14 changed files with 30 additions and 45 deletions
@@ -174,7 +174,7 @@ public class MigrationBPermissions extends SubCommand<Object> {
}
// Make a LuckPerms user for the one being migrated.
plugin.getStorage().loadUser(uuid, "null").join();
plugin.getStorage().loadUser(uuid, null).join();
User lpUser = plugin.getUserManager().getIfLoaded(uuid);
migrateHolder(world, user, lpUser);
@@ -262,7 +262,7 @@ public class MigrationGroupManager extends SubCommand<Object> {
log.log("Starting user migration.");
AtomicInteger userCount = new AtomicInteger(0);
for (Map.Entry<UUID, Set<Node>> e : users.entrySet()) {
plugin.getStorage().loadUser(e.getKey(), "null").join();
plugin.getStorage().loadUser(e.getKey(), null).join();
me.lucko.luckperms.common.model.User user = plugin.getUserManager().getIfLoaded(e.getKey());
for (Node node : e.getValue()) {
@@ -231,7 +231,7 @@ public class MigrationPowerfulPerms extends SubCommand<Object> {
for (UUID uuid : uuids) {
// Create a LuckPerms user for the UUID
plugin.getStorage().loadUser(uuid, "null").join();
plugin.getStorage().loadUser(uuid, null).join();
User user = plugin.getUserManager().getIfLoaded(uuid);
List<Permission> permissions = joinFuture(pm.getPlayerOwnPermissions(uuid));
@@ -151,7 +151,7 @@ public class LPPermissible extends PermissibleBase {
*
* @return the calculated contexts for the player.
*/
public Contexts calculateContexts() {
private Contexts calculateContexts() {
return plugin.getContextManager().getApplicableContexts(player);
}