fixed message ocd

This commit is contained in:
Bryson Steck 2021-08-25 00:41:04 -06:00
parent 412247a118
commit 3ed4e546b3
3 changed files with 5 additions and 5 deletions

View file

@ -42,7 +42,7 @@ public class CommandAbout implements CommandExecutor {
System.out.println("[Resurrection]");
System.out.println("[Resurrection] This plugin is licensed under the GNU Affero General Public License v3.0. For more info, run /source");
System.out.println("[Resurrection] Since you're the admin, you probably know where to download it lmao. Here's the link anyway: https://github.com/brysonsteck/resurrection");
System.out.println("[Resurrection] \u00a9 2021 Bryson Steck");
System.out.println("[Resurrection] Copyright 2021 Bryson Steck");
}
return true;

View file

@ -31,7 +31,7 @@ public class CommandHowLong implements CommandExecutor {
} else {
p = Bukkit.getPlayer(strings[0]);
if (p == null) {
commandSender.sendMessage(ChatColor.RED + "ERROR: Player does not exist or is offline!");
commandSender.sendMessage(ChatColor.RED + "ERROR: That player is not online/doesn't exist!");
return false;
}
}
@ -80,7 +80,7 @@ public class CommandHowLong implements CommandExecutor {
Player p = Bukkit.getPlayer(strings[0]);
if (p == null) {
System.out.println(ChatColor.RED + "[Resurrection] ERROR: Player does not exist or is offline!");
System.out.println("[Resurrection] ERROR: That player is not online/doesn't exist!");
return false;
}

View file

@ -49,7 +49,7 @@ public class CommandResurrect implements CommandExecutor {
if (valid) {
Player resurrectPlayer = Bukkit.getPlayer(strings[0]);
if (resurrectPlayer == null) {
System.out.println("[Resurrection] That player is not online/doesn't exist! Failed to resurrect.");
System.out.println("[Resurrection] ERROR: That player is not online/doesn't exist! Failed to resurrect.");
return false;
}
if (resurrectPlayer.getGameMode() == GameMode.SPECTATOR) {
@ -66,7 +66,7 @@ public class CommandResurrect implements CommandExecutor {
}
return true;
} else {
System.out.println("[Resurrection] " + strings[0] + " is not dead! Failed to resurrect.");
System.out.println("[Resurrection] ERROR: " + strings[0] + " is not dead! Failed to resurrect.");
return false;
}
} else {