From 3bb457f14eb3c9195cee9b2278abbc36159388d1 Mon Sep 17 00:00:00 2001 From: AlexDev_ Date: Mon, 6 Nov 2023 11:28:19 +0100 Subject: [PATCH] Docs fix --- docs/API-Examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/API-Examples.md b/docs/API-Examples.md index 10c5b99..84acc41 100644 --- a/docs/API-Examples.md +++ b/docs/API-Examples.md @@ -65,11 +65,11 @@ Optional customName = velocitabAPI.getCustomPlayerName(player); You can listen to `PlayerAddedToTabEvent` to get notified when a player is added to a group TabList.
-Example — Listening to PlayerAddToTabEvent +Example — Listening to PlayerAddedToTabEvent ```java @Subscribe -public void onPlayerAddToTab(PlayerAddToTabEvent event) { +public void onPlayerAddedToTab(PlayerAddedToTabEvent event) { VelocitabAPI velocitabAPI = VelocitabAPI.getInstance(); velocitabAPI.setCustomPlayerName(event.getPlayer().getPlayer(), "CustomName"); }