this.plugin = instance;
}
@EventHandler(priority = EventPriority.LOW)
public void onPlayerJoinEarly(PlayerJoinEvent event) {
event.getPlayer().setMetadata("vanished", new LazyMetadataValue(this.plugin, CacheStrategy.NEVER_CACHE, new VanishCheck(this.plugin.getManager(), event.getPlayer().getName())));
this.plugin.getManager().resetSeeing(event.getPlayer());
if (VanishPerms.joinVanished(event.getPlayer())) {
MetricsOverlord.getJoinInvisTracker().increment();
this.plugin.getManager().toggleVanishQuiet(event.getPlayer(), false);
this.plugin.hooksVanish(event.getPlayer());