mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-02 13:44:43 +02:00
AthionPlots -> PlotSquared converter
This commit is contained in:
@ -78,7 +78,7 @@ import com.intellectualcrafters.plot.commands.plugin;
|
||||
import com.intellectualcrafters.plot.config.C;
|
||||
import com.intellectualcrafters.plot.config.Settings;
|
||||
import com.intellectualcrafters.plot.database.plotme.ClassicPlotMeConnector;
|
||||
import com.intellectualcrafters.plot.database.plotme.PlotMeConverter;
|
||||
import com.intellectualcrafters.plot.database.plotme.LikePlotMeConverter;
|
||||
import com.intellectualcrafters.plot.flag.FlagManager;
|
||||
import com.intellectualcrafters.plot.generator.BukkitHybridUtils;
|
||||
import com.intellectualcrafters.plot.generator.HybridGen;
|
||||
@ -429,10 +429,12 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
|
||||
TaskManager.runTaskLaterAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
new PlotMeConverter().run(new ClassicPlotMeConnector());
|
||||
if (!(new LikePlotMeConverter("PlotMe").run(new ClassicPlotMeConnector()))) {
|
||||
new LikePlotMeConverter("AthionPlots").run(new ClassicPlotMeConnector());
|
||||
}
|
||||
}
|
||||
}, 20);
|
||||
if (Bukkit.getPluginManager().getPlugin("PlotMe") != null) {
|
||||
if (Bukkit.getPluginManager().getPlugin("PlotMe") != null || Bukkit.getPluginManager().getPlugin("AthionPlots") != null) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user