mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Shift a few more messages to debug
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user