mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-30 20:39:13 +00:00
docs(HookPremiumVanish): documented class
This commit is contained in:
@@ -7,13 +7,14 @@ import de.myzelyam.api.vanish.PlayerHideEvent;
|
||||
import de.myzelyam.api.vanish.PlayerShowEvent;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class HookPremiumVanish extends Hook implements Listener {
|
||||
|
||||
// NOTE: Supervanish and Premium Vanish both use the same api
|
||||
|
||||
/**
|
||||
* A hook that integrates the plugin {@link de.myzelyam.api.vanish.VanishAPI Supervanish}
|
||||
*
|
||||
* @implSpec Supervanish and Premium Vanish both use the same api
|
||||
*/
|
||||
public class HookPremiumVanish extends Hook {
|
||||
public HookPremiumVanish() {
|
||||
super("PremiumVanish");
|
||||
}
|
||||
@@ -33,5 +34,4 @@ public class HookPremiumVanish extends Hook implements Listener {
|
||||
if (user == null) return;
|
||||
user.showCosmetics();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user