package com.endercrest.voidspawn.modes.island;

import com.endercrest.voidspawn.TeleportResult;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

public class USkyBlockIslandMode extends BaseIslandMode {

    @Override
    public TeleportResult onActivateIsland(Player player, String worldname) {
        return null;
    }

    @Override
    public Status[] getStatus(String worldName) {
        return new Status[0];
    }

    @Override
    public boolean isEnabled() {
        return isModeEnabled();
    }

    public static boolean isModeEnabled() {
        return Bukkit.getPluginManager().isPluginEnabled("uSkyBlock");
    }
}

@@ -152,179 +152,834 @@
 er;%0A
-%0Apublic class USkyBlockIslandMode extends BaseIslandMode %7B%0A%0A    @Override%0A    public TeleportResult onActivateIsland(Player player, String worldname) %7B%0A        return null
+import us.talabrek.ultimateskyblock.api.IslandInfo;%0Aimport us.talabrek.ultimateskyblock.api.uSkyBlockAPI;%0A%0Apublic class USkyBlockIslandMode extends BaseIslandMode %7B%0A    private final uSkyBlockAPI usb;%0A%0A    public USkyBlockIslandMode() %7B%0A        this.usb = (uSkyBlockAPI) Bukkit.getPluginManager().getPlugin(%22uSkyBlock%22);%0A    %7D%0A%0A    @Override%0A    public TeleportResult onActivateIsland(Player player, String worldname) %7B%0A        IslandInfo info = usb.getIslandInfo(player);%0A        if (info.getWarpLocation() != null) %7B%0A            player.teleport(info.getWarpLocation());%0A            return TeleportResult.SUCCESS;%0A        %7D%0A        if (info.getIslandLocation() != null) %7B%0A            player.teleport(info.getIslandLocation());%0A            return TeleportResult.SUCCESS;%0A        %7D%0A%0A        return TeleportResult.MISSING_ISLAND
 ;%0A  

Add back USkyBlock support