Skip to content

Commit ac3169b

Browse files
committed
Meta updates.
1 parent 1353da1 commit ac3169b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperWorldExtensions.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void register() {
3636
// @returns ElementTag(Number)
3737
// @description
3838
// Returns the number of end gateway portals.
39-
// Only works in end worlds.
39+
// Only works if the world is an end world.
4040
// -->
4141
WorldTag.tagProcessor.registerTag(ElementTag.class, "gateway_count", (attribute, object) -> {
4242
DragonBattle battle = object.getWorld().getEnderDragonBattle();
@@ -52,7 +52,7 @@ public static void register() {
5252
// @returns ListTag(EntityTag)
5353
// @description
5454
// Returns a ListTag of the healing crystals located on top of the obsidian towers.
55-
// Only works in end worlds.
55+
// Only works if the world is an end world.
5656
// -->
5757
WorldTag.tagProcessor.registerTag(ListTag.class, "healing_crystals", (attribute, object) -> {
5858
DragonBattle battle = object.getWorld().getEnderDragonBattle();
@@ -64,11 +64,11 @@ public static void register() {
6464
});
6565

6666
// <--[tag]
67-
// @attribute <WorldTag.healing_crystals>
67+
// @attribute <WorldTag.respawn_crystals>
6868
// @returns ListTag(EntityTag)
6969
// @description
7070
// Returns a ListTag of the respawn crystals located at the end exit portal.
71-
// Only works in end worlds.
71+
// Only works if the world is an end world.
7272
// -->
7373
WorldTag.tagProcessor.registerTag(ListTag.class, "respawn_crystals", (attribute, object) -> {
7474
DragonBattle battle = object.getWorld().getEnderDragonBattle();
@@ -86,8 +86,9 @@ public static void register() {
8686
// @Plugin Paper
8787
// @group paper
8888
// @description
89-
// If no location is specified, tries to spawn a new end gateway using default game mechanics. Otherwise, spawns a new end gateway portal at the specified location.
90-
// Only works in end worlds.
89+
// Spawns a new end gateway portal at the specified location.
90+
// If no location is specified, tries to spawn a new end gateway using default game mechanics.
91+
// Only works if the world is an end world.
9192
// -->
9293
WorldTag.tagProcessor.registerMechanism("spawn_gateway", false, (object, mechanism) -> {
9394
DragonBattle battle = object.getWorld().getEnderDragonBattle();

0 commit comments

Comments
 (0)