Remove some deprecated methods

This commit is contained in:
Dylan K. Taylor 2018-10-20 15:29:43 +01:00
parent e035be8498
commit 605e7e08ed
3 changed files with 0 additions and 30 deletions

View File

@ -556,14 +556,6 @@ class Server{
return $this->getConfigInt("spawn-protection", 16);
}
/**
* @deprecated
* @return bool
*/
public function getAllowFlight() : bool{
return true;
}
/**
* @return bool
*/

View File

@ -631,16 +631,6 @@ class Level implements ChunkManager, Metadatable{
$this->globalPackets[] = $packet;
}
/**
* @deprecated
* @see Level::broadcastGlobalPacket()
*
* @param DataPacket $packet
*/
public function addGlobalPacket(DataPacket $packet) : void{
$this->globalPackets[] = $packet;
}
public function registerChunkLoader(ChunkLoader $loader, int $chunkX, int $chunkZ, bool $autoLoad = true){
$hash = $loader->getLoaderId();

View File

@ -524,18 +524,6 @@ class PluginManager{
$this->fileAssociations = [];
}
/**
* Calls an event
*
* @deprecated
* @see Event::call()
*
* @param Event $event
*/
public function callEvent(Event $event){
$event->call();
}
/**
* Registers all the events in the given Listener class
*