Remove useless crap from ChunkLoader interface

these methods are not used anywhere and are unnecessary extra baggage for any implementation.
This commit is contained in:
Dylan K. Taylor 2018-08-05 18:38:51 +01:00
parent 90f80782d4
commit 6fcb221453
2 changed files with 0 additions and 21 deletions

View File

@ -3352,8 +3352,4 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
public function getLoaderId() : int{ public function getLoaderId() : int{
return $this->loaderId; return $this->loaderId;
} }
public function isLoaderActive() : bool{
return $this->isConnected();
}
} }

View File

@ -47,18 +47,6 @@ interface ChunkLoader{
*/ */
public function getLoaderId() : int; public function getLoaderId() : int;
/**
* Returns if the chunk loader is currently active
*
* @return bool
*/
public function isLoaderActive() : bool;
/**
* @return Position
*/
public function getPosition();
/** /**
* @return float * @return float
*/ */
@ -69,11 +57,6 @@ interface ChunkLoader{
*/ */
public function getZ(); public function getZ();
/**
* @return Level
*/
public function getLevel();
/** /**
* This method will be called when a Chunk is replaced by a new one * This method will be called when a Chunk is replaced by a new one
* *