diff --git a/VotingPlugin/Resources/Config.yml b/VotingPlugin/Resources/Config.yml index f7caf1b28..3bd46e1d4 100644 --- a/VotingPlugin/Resources/Config.yml +++ b/VotingPlugin/Resources/Config.yml @@ -607,6 +607,7 @@ PreloadSkulls: true SkullLoadDelay: 3000 # Set a skull profile URL +# This is what gets used to cache skulls # Default: https://sessionserver.mojang.com/session/minecraft/profile/ # Other examples: https://crafthead.net/profile/ SkullProfileAPIURL: '' diff --git a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java index 96be1076b..fabb5869f 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java @@ -510,6 +510,9 @@ public void onPluginMessagingReceived(PluginMessageEvent event) { serverName = in.readUTF(); } debug("Login: " + player + "/" + uuid + " " + serverName); + if (nonVotedPlayersCache != null) { + nonVotedPlayersCache.addPlayerCheck(uuid, player); + } if (server.getPlayer(player).isPresent() && (getGlobalDataHandler() == null || !getGlobalDataHandler().isTimeChangedHappened())) { Player p = server.getPlayer(player).get();