Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,7 +132,13 @@ public enum ScriptClientValueArgument implements ScriptArgument {
} else {
throw new IllegalStateException("The event is not a menu click event.");
}
});
}),

PLAYER_UUID("Player UUID", "The UUID of the player.", Items.PLAYER_HEAD, ScriptActionArgumentType.TEXT,
(event, context) -> new ScriptTextValue(DFScript.PLAYER_UUID)),

PLAYER_NAME("Player Name", "The name of the player.", Items.PLAYER_HEAD, ScriptActionArgumentType.TEXT,
(event, context) -> new ScriptTextValue(DFScript.PLAYER_NAME));

private final String name;
private final ItemStack icon;
Expand Down