Skip to content

Commit

Permalink
Add Location examples
Browse files Browse the repository at this point in the history
  • Loading branch information
milanjaros authored Dec 27, 2024
1 parent 7b5a8a6 commit 914cdff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/ch/njol/skript/classes/data/BukkitClasses.java
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ protected boolean canBeInstantiated() {
.description("A location in a <a href='#world'>world</a>. Locations are world-specific and even store a <a href='#direction'>direction</a>, " +
"e.g. if you save a location and later teleport to it you will face the exact same direction you did when you saved the location.")
.usage("")
.examples("")
.examples("teleport player to location at 0, 69, 0",
"teleport player to location at 0, 69, 0 in world 'world'")
.since("1.0")
.defaultExpression(new EventValueExpression<>(Location.class))
.parser(new Parser<Location>() {
Expand Down

0 comments on commit 914cdff

Please sign in to comment.