fixed message ocd
This commit is contained in:
parent
412247a118
commit
3ed4e546b3
3 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ public class CommandAbout implements CommandExecutor {
|
||||||
System.out.println("[Resurrection]");
|
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] 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] 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;
|
return true;
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class CommandHowLong implements CommandExecutor {
|
||||||
} else {
|
} else {
|
||||||
p = Bukkit.getPlayer(strings[0]);
|
p = Bukkit.getPlayer(strings[0]);
|
||||||
if (p == null) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,7 @@ public class CommandHowLong implements CommandExecutor {
|
||||||
|
|
||||||
Player p = Bukkit.getPlayer(strings[0]);
|
Player p = Bukkit.getPlayer(strings[0]);
|
||||||
if (p == null) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class CommandResurrect implements CommandExecutor {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
Player resurrectPlayer = Bukkit.getPlayer(strings[0]);
|
Player resurrectPlayer = Bukkit.getPlayer(strings[0]);
|
||||||
if (resurrectPlayer == null) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
if (resurrectPlayer.getGameMode() == GameMode.SPECTATOR) {
|
if (resurrectPlayer.getGameMode() == GameMode.SPECTATOR) {
|
||||||
|
@ -66,7 +66,7 @@ public class CommandResurrect implements CommandExecutor {
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} 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;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue