mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
rename WritableBook->swapPage() to swapPages()
This commit is contained in:
@ -156,7 +156,7 @@ class WritableBook extends Item{
|
||||
*
|
||||
* @return bool indicating success
|
||||
*/
|
||||
public function swapPage(int $pageId1, int $pageId2) : bool{
|
||||
public function swapPages(int $pageId1, int $pageId2) : bool{
|
||||
if(!$this->pageExists($pageId1) or !$this->pageExists($pageId2)){
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user