From 27d8ae03e183fbc078acc70c4734490119d0537e Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Tue, 29 Dec 2020 18:54:39 +0100 Subject: [PATCH] fix wrong var name --- wiki/Hook-into-PlaceholderAPI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/Hook-into-PlaceholderAPI.md b/wiki/Hook-into-PlaceholderAPI.md index 08b47cd..d50e61e 100644 --- a/wiki/Hook-into-PlaceholderAPI.md +++ b/wiki/Hook-into-PlaceholderAPI.md @@ -136,7 +136,7 @@ public class JoinExample extends JavaPlugin implements Listener { */ joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText); - event.setJoinMessage(withPlaceholdersSet); + event.setJoinMessage(joinText); } } ```