aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-01-22 18:55:08 -0800
committerWalker Selby <git@walkerselby.com>2023-01-22 18:55:08 -0800
commit23f0d60705cd8edea4d4af1fe4a0f9773e8f5dd4 (patch)
tree83aaacce0a81214e52b73165a7cae58eac20351e /mod/src/main
parente7998613fca8ea8423f232063d2e759afa234b8c (diff)
downloadSkyblock-Dungeons-Guide-23f0d60705cd8edea4d4af1fe4a0f9773e8f5dd4.tar.gz
Skyblock-Dungeons-Guide-23f0d60705cd8edea4d4af1fe4a0f9773e8f5dd4.tar.bz2
Skyblock-Dungeons-Guide-23f0d60705cd8edea4d4af1fe4a0f9773e8f5dd4.zip
Fix typos
Adjust phrasing for more natural flow
Diffstat (limited to 'mod/src/main')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDgDebug.java16
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java10
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandReparty.java6
3 files changed, 16 insertions, 16 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDgDebug.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDgDebug.java
index b6742c9c..b6b11c63 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDgDebug.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDgDebug.java
@@ -99,7 +99,7 @@ public class CommandDgDebug extends CommandBase {
ChatTransmitter.addToQueue("VS");
} else if ("mockdungeonstart".equals(arg)) {
if (!Minecraft.getMinecraft().isSingleplayer()) {
- ChatTransmitter.addToQueue("This only works in singlepauer", false);
+ ChatTransmitter.addToQueue("This only works in singlepayer", false);
return;
}
@@ -130,18 +130,18 @@ public class CommandDgDebug extends CommandBase {
})).start();
} else if ("saverooms".equals(arg)) {
DungeonRoomInfoRegistry.saveAll(Main.getConfigDir());
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fSuccessfully saved user generated roomdata"));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fSuccessfully saved user generated room data"));
} else if ("loadrooms".equals(arg)) {
try {
DungeonRoomInfoRegistry.loadAll(Main.getConfigDir());
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fSuccessfully loaded roomdatas"));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fSuccessfully loaded room data"));
return;
} catch (BadPaddingException | InvalidKeyException | InvalidAlgorithmParameterException |
NoSuchAlgorithmException | IOException | IllegalBlockSizeException |
NoSuchPaddingException e) {
e.printStackTrace();
}
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §cAn error has occurred while loading roomdata"));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §cAn error has occurred while loading room data"));
} else if ("reloadah".equals(arg)) {
try {
AhUtils.loadAuctions();
@@ -150,7 +150,7 @@ public class CommandDgDebug extends CommandBase {
KeyStoreException | IllegalBlockSizeException | KeyManagementException e) {
e.printStackTrace();
}
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fReloaded Ah data"));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fReloaded AH data"));
} else if ("brand".equals(arg)) {
String serverBrand = Minecraft.getMinecraft().thePlayer.getClientBrand();
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e" + serverBrand));
@@ -291,7 +291,7 @@ public class CommandDgDebug extends CommandBase {
oos.close();
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fSuccessfully saved dungeon run to " + runFile.getAbsolutePath()));
} catch (Exception e) {
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §cAn error occured while writing rundata " + e.getMessage()));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §cAn error occurred while writing rundata " + e.getMessage()));
e.printStackTrace();
}
} else if ("requeststaticresource".equals(arg)) {
@@ -456,12 +456,12 @@ public class CommandDgDebug extends CommandBase {
} else if ("clearprofile".equals(arg)) {
Minecraft.getMinecraft().mcProfiler.clearProfiling();
} else {
- sender.addChatMessage(new ChatComponentText("ain't gonna find much anything here"));
+ sender.addChatMessage(new ChatComponentText("ain't gonna find much of anything here"));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg loadrooms §7-§f Reloads dungeon roomdata."));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg brand §7-§f View server brand."));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg info §7-§f View Current DG User info."));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg saverun §7-§f Save run to be sent to developer."));
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg saverooms §7-§f Saves usergenerated dungeon roomdata."));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg saverooms §7-§f Saves user-generated dungeon roomdata."));
}
}
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java
index f682055f..35f7f015 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java
@@ -63,14 +63,14 @@ public class CommandDungeonsGuide extends CommandBase {
openConfig = true;
} else if (args[0].equalsIgnoreCase("reparty")) {
if (!DungeonsGuide.getDungeonsGuide().getCommandReparty().requestReparty(false)) {
- ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cCurrently Repartying"));
+ ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cRepartying..."));
}
} else if (args[0].equalsIgnoreCase("gui")) {
openConfig = true;
} else if (args[0].equalsIgnoreCase("pvall")) {
PartyManager.INSTANCE.requestPartyList((context) -> {
if (context == null) {
- ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cNot in Party"));
+ ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cYou are not in a party!"));
return;
}
FeatureViewPlayerStatsOnJoin.processPartyMembers(context);
@@ -81,7 +81,7 @@ public class CommandDungeonsGuide extends CommandBase {
return;
}
if (!PartyManager.INSTANCE.canInvite()) {
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §cYou don't have perms in the party to invite people!"));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §cYou don't have permission to invite people to the party!"));
} else {
PartyManager.INSTANCE.toggleAllowAskToJoin();
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fToggled Ask to join to " + (PartyManager.INSTANCE.getAskToJoinSecret() != null ? "§eon" : "§coff")));
@@ -142,7 +142,7 @@ public class CommandDungeonsGuide extends CommandBase {
}
PartyManager.INSTANCE.setMaxParty(partyMax);
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fSuccessfully set partymax to §e" + PartyManager.INSTANCE.getMaxParty()));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fSuccessfully set the party max to §e" + PartyManager.INSTANCE.getMaxParty()));
} catch (Exception e) {
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §c" + args[1] + " is not valid number."));
}
@@ -156,7 +156,7 @@ public class CommandDungeonsGuide extends CommandBase {
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg reloadah §7-§f Reloads price data from server."));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg reparty §7-§f Reparty."));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg asktojoin or /dg atj §7-§f Toggle ask to join §cRequires Discord Rich Presence enabled. (/dg -> Advanced)"));
- sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg partymax [number] or /dg pm [number] §7-§f Sets partymax §7(maximum amount people in party, for discord rpc)"));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg partymax [number] or /dg pm [number] §7-§f Sets the party max §7(maximum amount people in party, for discord rpc)"));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg pv [ign] §7-§f Profile Viewer"));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg pvall §7-§f Profile Viewer For all people on party"));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg purge §7-§f Purge api cache."));
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandReparty.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandReparty.java
index a268ad61..1be27ea1 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandReparty.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandReparty.java
@@ -49,7 +49,7 @@ public class CommandReparty extends CommandBase {
@Override
public void processCommand(ICommandSender sender, String[] args) {
if (!requestReparty(false)) {
- ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cCurrently Repartying"));
+ ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cRepartying..."));
}
}
@@ -65,13 +65,13 @@ public class CommandReparty extends CommandBase {
PartyManager.INSTANCE.requestPartyList(pc -> {
if (pc == null) {
if (!noerror)
- ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cNot in Party"));
+ ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cYou are not in a Party!"));
reparting = false;
return;
}
if (!pc.hasLeader(Minecraft.getMinecraft().getSession().getUsername())) {
if (!noerror)
- ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cYou're not leader"));
+ ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §cYou're not the leader"));
reparting = false;
return;
}