mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Shift a few more messages to debug
This commit is contained in:
parent
0fa5a16cd0
commit
c6962ef4d2
@ -78,6 +78,12 @@
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-jdk14</artifactId>
|
||||
<version>2.0.0-alpha1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sk89q.worldedit</groupId>
|
||||
<artifactId>worldedit-core</artifactId>
|
||||
|
@ -536,7 +536,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain<
|
||||
uuidList.clear();
|
||||
// Print progress
|
||||
final double percentage = ((double) read / (double) totalSize) * 100.0D;
|
||||
logger.info("(UUID) PlotSquared has cached {} of UUIDs", String.format("%.1f%%", percentage));
|
||||
logger.debug("(UUID) PlotSquared has cached {} of UUIDs", String.format("%.1f%%", percentage));
|
||||
} catch (final InterruptedException | ExecutionException e) {
|
||||
logger.error("(UUID) Failed to retrieve last batch. Will try again", e);
|
||||
e.printStackTrace();
|
||||
|
@ -98,6 +98,12 @@
|
||||
<version>1.7.0-SNAPSHOT</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>2.0.0-alpha1</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
|
@ -152,17 +152,16 @@ public abstract class SchematicHandler {
|
||||
SchematicHandler.manager.getCompoundTag(plot, new RunnableVal<CompoundTag>() {
|
||||
@Override public void run(final CompoundTag value) {
|
||||
if (value == null) {
|
||||
MainUtil.sendMessage(null, "&7 - Skipped plot &c" + plot.getId());
|
||||
logger.debug("Skipped plot {}", plot.getId());
|
||||
} else {
|
||||
TaskManager.runTaskAsync(() -> {
|
||||
MainUtil.sendMessage(null, "&6ID: " + plot.getId());
|
||||
logger.debug("ID: {}", plot.getId());
|
||||
boolean result = SchematicHandler.manager
|
||||
.save(value, directory + File.separator + name + ".schem");
|
||||
if (!result) {
|
||||
MainUtil
|
||||
.sendMessage(null, "&7 - Failed to save &c" + plot.getId());
|
||||
logger.error("Failed to save {}", plot.getId());
|
||||
} else {
|
||||
MainUtil.sendMessage(null, "&7 - &a success: " + plot.getId());
|
||||
logger.debug("success: {}", plot.getId());
|
||||
}
|
||||
TaskManager.runTask(THIS);
|
||||
});
|
||||
|
@ -325,7 +325,7 @@ public class UUIDPipeline {
|
||||
this.consume(mappings);
|
||||
return mappings;
|
||||
} else if (Settings.DEBUG) {
|
||||
logger.debug("Failed to find all usernames");
|
||||
logger.debug("(UUID) Failed to find all usernames");
|
||||
}
|
||||
|
||||
if (Settings.UUID.UNKNOWN_AS_DEFAULT) {
|
||||
@ -388,7 +388,7 @@ public class UUIDPipeline {
|
||||
this.consume(mappings);
|
||||
return mappings;
|
||||
} else if (Settings.DEBUG) {
|
||||
logger.debug("Failed to find all UUIDs");
|
||||
logger.debug("(UUID) Failed to find all UUIDs");
|
||||
}
|
||||
|
||||
throw new ServiceError("End of pipeline");
|
||||
|
Loading…
Reference in New Issue
Block a user