mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fix Sponge Errors
This commit is contained in:
parent
13b7a798e6
commit
6f26e42251
@ -71,15 +71,14 @@ import org.spongepowered.api.world.gen.WorldGenerator;
|
|||||||
import org.spongepowered.api.world.gen.WorldGeneratorModifier;
|
import org.spongepowered.api.world.gen.WorldGeneratorModifier;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
@Plugin(id = "PlotSquared", name = "PlotSquared", description = "Easy, yet powerful Plot World generation and management.", url = "https://github"
|
@Plugin(id = "plotSquared", name = "PlotSquared", description = "Easy, yet powerful Plot World generation and management.",
|
||||||
+ ".com/IntellectualSites/PlotSquared", version = "3.3.3")
|
url = "https://github.com/IntellectualSites/PlotSquared", version = "3.3.3")
|
||||||
public class SpongeMain implements IPlotMain {
|
public class SpongeMain implements IPlotMain {
|
||||||
|
|
||||||
public static SpongeMain THIS;
|
public static SpongeMain THIS;
|
||||||
@ -305,13 +304,9 @@ public class SpongeMain implements IPlotMain {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void startMetrics() {
|
public void startMetrics() {
|
||||||
try {
|
SpongeMetrics metrics = new SpongeMetrics(this.game, this.plugin);
|
||||||
SpongeMetrics metrics = new SpongeMetrics(this.game, this.plugin);
|
metrics.start();
|
||||||
metrics.start();
|
PS.log(C.PREFIX.s() + "&6Metrics enabled.");
|
||||||
PS.log(C.PREFIX.s() + "&6Metrics enabled.");
|
|
||||||
} catch (IOException ignored) {
|
|
||||||
PS.log(C.PREFIX.s() + "&cFailed to load up metrics.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user