From b964bd0b7905076a046e0ab2938ada5953845d9d Mon Sep 17 00:00:00 2001
From: Pear <20259871+TheRealPear@users.noreply.github.com>
Date: Mon, 4 Nov 2024 03:36:16 -0500
Subject: [PATCH] Fix download link and document `near` (#161)
Signed-off-by: Pear <20259871+TheRealPear@users.noreply.github.com>
---
docs/modules/objectives/dtm.mdx | 8 ++++----
src/pages/downloads/index.js | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/modules/objectives/dtm.mdx b/docs/modules/objectives/dtm.mdx
index 097f3f45..be00b3bf 100644
--- a/docs/modules/objectives/dtm.mdx
+++ b/docs/modules/objectives/dtm.mdx
@@ -4,11 +4,11 @@ title: Destroy the Monument
---
Players have to locate and destroy certain objects from the enemy team, such as an obsidian pillar, etc.
-Teams win after a specified percentage of the enemy teams destroyables are destroyed.
+Teams win after a specified percentage of the enemy team's destroyables are destroyed.
Teams can have multiple destroyables and they can be made out of multiple materials.
-Completion specifies how much of the material(s) inside of the monument region must be removed for it to count as destroyed.
-For example, if the monument is obsidian and completion is set to 100%, then all the obsidian must be removed in order for the monument to count as destroyed.
+Completion specifies how much of the material(s) inside the monument region must be removed for it to count as destroyed.
+For example, if the monument is obsidian and completion is set to 100%, then all the obsidian must be removed for the monument to count as destroyed.
| Element | Description |
|---|---|
@@ -33,7 +33,7 @@ For example, if the monument is obsidian and completion is set to 100%, then all
| `mode-changes` | Specify if this destroyable uses monument modes.
**Note:** Not used in conjunction with `modes`. | true/false | false |
| `show-progress` | Show this destroyable's progress in the scoreboard. | true/false | false |
| `repairable` | Specify if the destroyable can be repaired. | true/false | true |
-| `sparks` | Spawn fireworks particles for each destroyed blocks and play the fireworks sound to all players. | true/false | false |
+| `sparks` | Spawn fireworks particles for each destroyed blocks and play the fireworks sound to all or nearby players. | `true`, `false`, `near` | false |
| `show-messages` | Broadcast messages related to the monument in chat. | true/false | true |
| `show-effects` | Play sounds, fireworks, and other effects related to the monument. | true/false | true |
| `show-info` | Display the monument under commands such as `/match`. | true/false | true |
diff --git a/src/pages/downloads/index.js b/src/pages/downloads/index.js
index 97977553..153818c9 100644
--- a/src/pages/downloads/index.js
+++ b/src/pages/downloads/index.js
@@ -94,7 +94,7 @@ export default function Downloads() {
"button button--primary",
styles.download_button
)}
- href={"https://nightly.link/PGMDev/PGM/workflows/deploy/dev/PGM.jar.zip"}
+ href={"https://nightly.link/PGMDev/PGM/workflows/build/dev/PGM.jar.zip"}
title={"Latest build directly from GitHub.\nContains all the latest features, may occasionally bring new bugs."}
>
Download