Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* */ package net.fateuhc.plugin.holograms;
- /* */
- /* */ import net.fateuhc.plugin.UHC;
- /* */ import net.fateuhc.plugin.utilties.uhc.Manager;
- /* */
- /* */
- /* */
- /* */
- /* */ public class HologramsManager
- /* */ extends Manager
- /* */ {
- /* */ private UHCHologram winsHologram;
- /* */ private UHCHologram killsHologram;
- /* */ private UHCHologram pointsHologram;
- /* */
- /* 16 */ public void setWinsHologram(UHCHologram winsHologram) { this.winsHologram = winsHologram; } public void setKillsHologram(UHCHologram killsHologram) { this.killsHologram = killsHologram; } public void setPointsHologram(UHCHologram pointsHologram) { this.pointsHologram = pointsHologram; }
- /* */
- /* */
- /* 19 */ public UHCHologram getWinsHologram() { return this.winsHologram; } public UHCHologram getKillsHologram() { return this.killsHologram; } public UHCHologram getPointsHologram() { return this.pointsHologram; }
- /* */
- /* */
- /* 22 */ public HologramsManager(UHC plugin) { super(plugin); }
- /* */
- /* */
- /* */ public void loadHolograms() {
- /* 26 */ if (this.plugin.getServer().getPluginManager().getPlugin("HologramAPI") == null)
- /* */ return;
- /* 28 */ this.winsHologram = new UHCHologram("WINS", this.plugin.getLeaderboardsManager().getLeaderboardByValue("wins"));
- /* */
- /* 30 */ this.pointsHologram = new UHCHologram("POINTS", this.plugin.getLeaderboardsManager().getLeaderboardByValue("points"));
- /* */ }
- /* */
- /* */ public void updateHolograms() {
- /* 34 */ if (this.plugin.getServer().getPluginManager().getPlugin("HologramAPI") == null)
- /* */ return;
- /* 36 */ this.winsHologram.reloadHolograms();
- /* 37 */ this.pointsHologram.reloadHolograms();
- /* */ }
- /* */ }
- /* Location: C:\Users\gamin\Downloads\FateUHC.jar!\net\fateuhc\plugin\holograms\HologramsManager.class
- * Java compiler version: 8 (52.0)
- * JD-Core Version: 1.0.7
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement