mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
strip extra blank lines (php-cs-fixer)
This commit is contained in:
@ -105,7 +105,6 @@ abstract class BaseNbtWorldData implements WorldData{
|
||||
return $this->compoundTag;
|
||||
}
|
||||
|
||||
|
||||
/* The below are common between PC and PE */
|
||||
|
||||
public function getName() : string{
|
||||
|
@ -101,7 +101,6 @@ class JavaWorldData extends BaseNbtWorldData{
|
||||
file_put_contents($this->dataPath, $buffer);
|
||||
}
|
||||
|
||||
|
||||
public function getDifficulty() : int{
|
||||
return $this->compoundTag->getByte("Difficulty", World::DIFFICULTY_NORMAL);
|
||||
}
|
||||
|
@ -21,10 +21,8 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
namespace pocketmine\world\format\io\region;
|
||||
|
||||
|
||||
class CorruptedRegionException extends RegionException{
|
||||
|
||||
}
|
||||
|
@ -21,10 +21,8 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
namespace pocketmine\world\format\io\region;
|
||||
|
||||
|
||||
class RegionException extends \RuntimeException{
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user