Fix build

This commit is contained in:
Luck 2016-09-17 23:46:11 +01:00
parent 23d53d39b4
commit 66818e4c82
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -108,7 +108,7 @@ public class BungeeListener extends AbstractListener implements Listener {
if (user == null) {
plugin.getProxy().getScheduler().schedule(plugin, () -> player.sendMessage(WARN_MESSAGE), 3, TimeUnit.SECONDS);
} else {
plugin.getPlayerCache().put(internal, new BungeePlayerCache(plugin, internal, e.getPlayer().getName()));
plugin.getPlayerCache().put(internal, new BungeePlayerCache(plugin, e.getPlayer().getName()));
user.refreshPermissions();
}
}