From 4d2d0f1d35947167c5a445865565f6b4d5102b37 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 6 Dec 2021 00:58:05 +0000 Subject: [PATCH] changelog: mention removal of Player->getLowerCaseName() closes #4618 --- changelogs/4.0.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelogs/4.0.md b/changelogs/4.0.md index 7f5a25a91..6a97299c3 100644 --- a/changelogs/4.0.md +++ b/changelogs/4.0.md @@ -1026,6 +1026,7 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml` - `Player->continueBreakBlock()`: punch the target block during destruction in survival, advancing break animation and creating particles - `Player->getCurrentWindow()`: returns the inventory window the player is currently viewing, or null if they aren't viewing an inventory - `Player->getItemCooldownExpiry()`: returns the tick on which the player's cooldown for a given item expires + - `Player->getLowerCaseName()`: use `strtolower(Player->getName())` instead - `Player->getPlayerInfo()`: returns a `PlayerInfo` object containing various metadata about the player - `Player->getSaveData()`: returns save data generated on the fly - `Player->hasFiniteResources()`