Skip to content

Commit cb3d37f

Browse files
committed
remove messages.json but add airplane.yml
1 parent 3b83039 commit cb3d37f

File tree

1 file changed

+42
-26
lines changed
  • src/main/java/org/maxgamer/quickshop/util/paste

1 file changed

+42
-26
lines changed

src/main/java/org/maxgamer/quickshop/util/paste/Paste.java

Lines changed: 42 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -277,16 +277,16 @@ public class Paste {
277277
}
278278
finalReport.append(config)
279279
.append("\n");
280-
finalReport.append("\t*********************************\n");
281-
finalReport.append("\tmessages.json:\n");
282-
finalReport
283-
.append("\t\t\n")
284-
.append(
285-
new String(
286-
Objects.requireNonNull(
287-
Util.inputStream2ByteArray(plugin.getDataFolder() + "/messages.json")),
288-
StandardCharsets.UTF_8))
289-
.append("\n");
280+
// finalReport.append("\t*********************************\n");
281+
// finalReport.append("\tmessages.json:\n");
282+
// finalReport
283+
// .append("\t\t\n")
284+
// .append(
285+
// new String(
286+
// Objects.requireNonNull(
287+
// Util.inputStream2ByteArray(plugin.getDataFolder() + "/messages.json")),
288+
// StandardCharsets.UTF_8))
289+
// .append("\n");
290290

291291
finalReport.append("\t*********************************\n");
292292
finalReport.append("\titemi18n.yml:\n");
@@ -382,22 +382,22 @@ public class Paste {
382382
finalReport.append("\tpaper.yml:\n");
383383
finalReport.append("\t\t\n").append("Read failed.").append("\n");
384384
}
385-
try {
386-
finalReport.append("\t*********************************\n");
387-
finalReport.append("\ttuinity.yml:\n");
388-
finalReport
389-
.append("\t\t\n")
390-
.append(
391-
new String(
392-
Objects.requireNonNull(
393-
Util.inputStream2ByteArray(new File(new File("."), "tuinity.yml").getPath())),
394-
StandardCharsets.UTF_8))
395-
.append("\n");
396-
} catch (Exception th) {
397-
finalReport.append("\t*********************************\n");
398-
finalReport.append("\ttuinity.yml:\n");
399-
finalReport.append("\t\t\n").append("Read failed.").append("\n");
400-
}
385+
// try {
386+
// finalReport.append("\t*********************************\n");
387+
// finalReport.append("\ttuinity.yml:\n");
388+
// finalReport
389+
// .append("\t\t\n")
390+
// .append(
391+
// new String(
392+
// Objects.requireNonNull(
393+
// Util.inputStream2ByteArray(new File(new File("."), "tuinity.yml").getPath())),
394+
// StandardCharsets.UTF_8))
395+
// .append("\n");
396+
// } catch (Exception th) {
397+
// finalReport.append("\t*********************************\n");
398+
// finalReport.append("\ttuinity.yml:\n");
399+
// finalReport.append("\t\t\n").append("Read failed.").append("\n");
400+
// }
401401
try {
402402
finalReport.append("\t*********************************\n");
403403
finalReport.append("\tpurpur.yml:\n");
@@ -417,6 +417,22 @@ public class Paste {
417417
} catch (Exception ignored) {
418418
finalReport.append("\tFailed to get data\n");
419419
}
420+
try {
421+
finalReport.append("\t*********************************\n");
422+
finalReport.append("\tairplane.yml:\n");
423+
finalReport
424+
.append("\t\t\n")
425+
.append(
426+
new String(
427+
Objects.requireNonNull(
428+
Util.inputStream2ByteArray(new File(new File("."), "airplane.yml").getPath())),
429+
StandardCharsets.UTF_8))
430+
.append("\n");
431+
} catch (Exception th) {
432+
finalReport.append("\t*********************************\n");
433+
finalReport.append("\tairplane.yml:\n");
434+
finalReport.append("\t\t\n").append("Read failed.").append("\n");
435+
}
420436
finalReport.append("================================================\n");
421437
finalReport.append("Shops in DB:\n");
422438
plugin

0 commit comments

Comments
 (0)