fixed set pdc command to utilize @s selector for gui runs
This commit is contained in:
parent
07b44ae9a3
commit
c341e7a9b8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user