fixed set pdc command to utilize @s selector for gui runs

This commit is contained in:
newt_00 2025-02-28 12:56:18 -05:00
parent 07b44ae9a3
commit c341e7a9b8
16 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ public final class CoswayUtil extends JavaPlugin implements Listener {
return false;
} else {
Player target = null;
if(args[0] == "@s") {
if(args[0].equals("@s")) {
target = player;
} else {
target = getServer().getPlayer(args[0]);