Skip to content

Commit

Permalink
fixed spelling in TpDead
Browse files Browse the repository at this point in the history
  • Loading branch information
aabssmc committed Dec 10, 2023
1 parent 78e19a2 commit 6d2e0aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/lol/aabss/eventcore/commands/dead/TpDead.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public boolean onCommand(CommandSender sender, @NotNull Command command, @NotNul
for (Player list: Bukkit.getOnlinePlayers()) {
if (EventCore.Dead.contains(list.getName())){
list.teleport(p.getLocation());
list.sendMessage(Config.color(prefix + "&e" + " You have been teleported."));
list.sendMessage(Config.color(prefix + " &eYou have been teleported."));
}
}
Bukkit.broadcastMessage(Config.color(prefix + "&e" + sender.getName() + " has teleport all dead players to them"));
Bukkit.broadcastMessage(Config.color(prefix + " &e" + sender.getName() + " has teleport all dead players to them"));
}
else{
sender.sendMessage(Config.color(prefix + " &cThis command is only executable by players!"));
Expand Down

0 comments on commit 6d2e0aa

Please sign in to comment.