From 62f86bf32e284357f966103294dd3a0bf2443147 Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Tue, 17 Feb 2026 09:16:06 +0800 Subject: [PATCH] update class name --- docs/developers/using-placeholderapi.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/developers/using-placeholderapi.md b/docs/developers/using-placeholderapi.md index 6191815..6848ffc 100644 --- a/docs/developers/using-placeholderapi.md +++ b/docs/developers/using-placeholderapi.md @@ -330,7 +330,7 @@ Due to Hytale's api design, certain components can only be accessed by specific By default for player commands, you're already going to be on the world thread so it's not so much of an issue, but you do need to consider it if you're trying to do async work and then call PAPI, e.g. async player chat. //// -``` { .java .annotate title="JoinExample.java" } +``` { .java .annotate title="ChatExample.java" } packate com.example.plugin; import at.helpch.placeholderapi.PlaceholderAPI; @@ -345,10 +345,10 @@ import com.hypixel.hytale.server.core.universe.world.World; import java.util.UUID; -public class JoinExample extends JavaPlugin { +public class ChatExample extends JavaPlugin { private static final String FORMAT = "%rel_factions_relation% [%luckperms_prefix%] %player_name% > " - public JoinExample(JavaPluginInit init) { + public ChatExample(JavaPluginInit init) { super(init) }