Skip to content

Commit 6314210

Browse files
authored
Update NbsCommand.java
1 parent d405ea1 commit 6314210

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/diamondfire/helpbot/bot/command/impl/other/fun

1 file changed

+1
-1
lines changed

src/main/java/com/diamondfire/helpbot/bot/command/impl/other/fun/NbsCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void run(CommandEvent event) {
6868
byte[] b64 = new NBSToTemplate(NBSDecoder.parse(file)).convert();
6969
File templateOutputfile = File.createTempFile("nbs_output", ".txt");
7070
BufferedWriter writer = new BufferedWriter(new FileWriter(templateOutputfile));
71-
writer.write(String.format("/give @p minecraft:note_block[minecraft:custom_name='{\"extra\":[{\"bold\":true,\"color\":\"aqua\",\"italic\":false,\"obfuscated\":false,\"strikethrough\":false,\"text\":\"Function \",\"underlined\":false},{\"bold\":false,\"color\":\"dark_aqua\",\"italic\":false,\"text":\"» \"},{\"color\":\"aqua\",\"italic\":false,\"text\":\"Nbs Song\"}],\"text\":\"\"}', minecraft:custom_data={PublicBukkitValues:{\"hypercube:codetemplatedata\":'{\"author\":\"Help Bot\",\"name\":\"&b&lFunction &3» &bNbs Song\",\"version\":1,\"code\":\"%s\"}'}}]", new String(b64)));
71+
writer.write(String.format("/give @p minecraft:note_block[minecraft:custom_name='{\"extra\":[{\"bold\":true,\"color\":\"aqua\",\"italic\":false,\"obfuscated\":false,\"strikethrough\":false,\"text\":\"Function \",\"underlined\":false},{\"bold\":false,\"color\":\"dark_aqua\",\"italic\":false,\"text\":\"» \"},{\"color\":\"aqua\",\"italic\":false,\"text\":\"Nbs Song\"}],\"text\":\"\"}', minecraft:custom_data={PublicBukkitValues:{\"hypercube:codetemplatedata\":'{\"author\":\"Help Bot\",\"name\":\"&b&lFunction &3» &bNbs Song\",\"version\":1,\"code\":\"%s\"}'}}]", new String(b64)));
7272

7373
writer.close();
7474

0 commit comments

Comments
 (0)