Support for 1.21.2

This commit is contained in:
IvanCraft623
2024-07-09 21:07:47 -05:00
parent 68d2e2915e
commit 5d60ba36b7
4 changed files with 20 additions and 8 deletions

View File

@ -2151,6 +2151,13 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
return true;
}
/**
* Closes the current viewing form and forms in queue.
*/
public function closeAllForms() : void{
$this->getNetworkSession()->onCloseAllForms();
}
/**
* Transfers a player to another server.
*