Skip to content

Commit 9e73dbc

Browse files
authored
Merge branch 'TechStreetDev:1.19' into master
2 parents fed3bf9 + a36033c commit 9e73dbc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/io/github/techstreet/dfscript/script/argument/ScriptClientValueArgument.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,13 @@ public enum ScriptClientValueArgument implements ScriptArgument {
131131
} else {
132132
throw new IllegalStateException("The event is not a menu click event.");
133133
}
134-
});
134+
}),
135+
136+
PLAYER_UUID("Player UUID", "The UUID of the player.", Items.PLAYER_HEAD, ScriptActionArgumentType.TEXT,
137+
(event, context) -> new ScriptTextValue(DFScript.PLAYER_UUID)),
138+
139+
PLAYER_NAME("Player Name", "The name of the player.", Items.PLAYER_HEAD, ScriptActionArgumentType.TEXT,
140+
(event, context) -> new ScriptTextValue(DFScript.PLAYER_NAME));
135141

136142
private final String name;
137143
private final ItemStack icon;

0 commit comments

Comments
 (0)