mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 15:36:08 +00:00
Add EOF newlines where missing (bulk) (#1836)
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
This commit is contained in:
@@ -25,4 +25,4 @@ namespace pocketmine\level\format;
|
||||
|
||||
class ChunkException extends \RuntimeException{
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -120,4 +120,4 @@ class EmptySubChunk implements SubChunkInterface{
|
||||
public function fastSerialize() : string{
|
||||
throw new \BadMethodCallException("Should not try to serialize empty subchunks");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -242,4 +242,4 @@ class SubChunk implements SubChunkInterface{
|
||||
public function __debugInfo(){
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -206,4 +206,4 @@ interface SubChunkInterface{
|
||||
* @return string
|
||||
*/
|
||||
public function fastSerialize() : string;
|
||||
}
|
||||
}
|
||||
|
@@ -94,4 +94,4 @@ class ChunkRequestTask extends AsyncTask{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -105,4 +105,4 @@ if(!extension_loaded('pocketmine_chunkutils')){
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -232,4 +232,4 @@ interface LevelProvider{
|
||||
|
||||
public function close();
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -69,4 +69,4 @@ abstract class LevelProviderManager{
|
||||
public static function getProviderByName(string $name){
|
||||
return self::$providers[trim(strtolower($name))] ?? null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -27,4 +27,4 @@ use pocketmine\level\format\ChunkException;
|
||||
|
||||
class UnsupportedChunkFormatException extends ChunkException{
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -648,4 +648,4 @@ class LevelDB extends BaseLevelProvider{
|
||||
$this->db->close();
|
||||
$this->level = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -165,4 +165,4 @@ class Anvil extends McRegion{
|
||||
return 256;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -27,4 +27,4 @@ namespace pocketmine\level\format\io\region;
|
||||
|
||||
class CorruptedRegionException extends RegionException{
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -60,4 +60,4 @@ class PMAnvil extends Anvil{
|
||||
public static function getPcWorldFormatVersion() : int{
|
||||
return -1; //Not a PC format, only PocketMine-MP
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -27,4 +27,4 @@ namespace pocketmine\level\format\io\region;
|
||||
|
||||
class RegionException extends \RuntimeException{
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user