From 7c20a8527ce49fb3b9b5f2883ad9bc8cd4d8eb24 Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Mon, 27 Mar 2023 17:50:26 +0200 Subject: [PATCH] Update PlaceholderExpansion.md --- PlaceholderExpansion.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PlaceholderExpansion.md b/PlaceholderExpansion.md index c21614b..2525b85 100644 --- a/PlaceholderExpansion.md +++ b/PlaceholderExpansion.md @@ -118,7 +118,7 @@ public class SomeExpansion extends PlaceholderExpansion { ### Full Example -> Please read the [`Common Parts`](#common-parts) for details on all the methods. +> Please read the [`Common Parts` Section](#common-parts) for details on all the methods. Below is a full example of an internal Expansion class. Please note the override of the `persist()` method to guarantee the Expansion isn't unloaded during a `/papi reload` operation. We also use the provided `SomePlugin` instance for information such as the version and authors. This allows us to keep the code clean while not having to deal with updating the expansion's information every time we make changes to the plugin. @@ -219,7 +219,7 @@ Downsides can be a more tedious setup to make sure any required plugin/dependenc ### Full Example (Without Dependency) -> Please read the [`Common Parts`](#common-parts) for details on all the methods. +> Please read the [`Common Parts` Section](#common-parts) for details on all the methods. Below is a full example of an external PlaceholderExpansion without any dependencies such as plugins. @@ -268,7 +268,7 @@ public class SomeExpansion extends PlaceholderExpansion { ### Full example (With Dependency) -> Please read the [`Common Parts`](#common-parts) for details on all the methods. +> Please read the [`Common Parts` Section](#common-parts) for details on all the methods. The below example shows a possible setup of an external PlaceholderExpansion that depends on a Plugin to be present. @@ -353,7 +353,7 @@ To add relational placeholders will you need to implement the [`Relational`][rel ### Full Example -> Please read the [`Common Parts`](#common-parts) for details on all the methods. +> Please read the [`Common Parts` Section](#common-parts) for details on all the methods. Below is a full example of using Relational Placeholders. For the sake of simplicity are we using parts of the [internal Expansion Example](#making-an-internal-expansion) here.