mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
Fix inconsistent class name
This commit is contained in:
parent
8620e67d88
commit
aea124af74
@ -26,7 +26,7 @@ namespace pocketmine\data\bedrock;
|
|||||||
use pocketmine\utils\SingletonTrait;
|
use pocketmine\utils\SingletonTrait;
|
||||||
use Webmozart\PathUtil\Path;
|
use Webmozart\PathUtil\Path;
|
||||||
|
|
||||||
final class LegacyBiomeIdToStringMap extends LegacyToStringBidirectionalIdMap{
|
final class LegacyBiomeIdToStringIdMap extends LegacyToStringBidirectionalIdMap{
|
||||||
use SingletonTrait;
|
use SingletonTrait;
|
||||||
|
|
||||||
public function __construct(){
|
public function __construct(){
|
@ -25,7 +25,7 @@ namespace pocketmine\network\mcpe\serializer;
|
|||||||
|
|
||||||
use pocketmine\block\tile\Spawnable;
|
use pocketmine\block\tile\Spawnable;
|
||||||
use pocketmine\data\bedrock\BiomeIds;
|
use pocketmine\data\bedrock\BiomeIds;
|
||||||
use pocketmine\data\bedrock\LegacyBiomeIdToStringMap;
|
use pocketmine\data\bedrock\LegacyBiomeIdToStringIdMap;
|
||||||
use pocketmine\nbt\TreeRoot;
|
use pocketmine\nbt\TreeRoot;
|
||||||
use pocketmine\network\mcpe\convert\RuntimeBlockMapping;
|
use pocketmine\network\mcpe\convert\RuntimeBlockMapping;
|
||||||
use pocketmine\network\mcpe\protocol\serializer\NetworkNbtSerializer;
|
use pocketmine\network\mcpe\protocol\serializer\NetworkNbtSerializer;
|
||||||
@ -135,7 +135,7 @@ final class ChunkSerializer{
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static function serializeBiomesAsPalette(Chunk $chunk) : string{
|
private static function serializeBiomesAsPalette(Chunk $chunk) : string{
|
||||||
$biomeIdMap = LegacyBiomeIdToStringMap::getInstance();
|
$biomeIdMap = LegacyBiomeIdToStringIdMap::getInstance();
|
||||||
$biomePalette = new PalettedBlockArray($chunk->getBiomeId(0, 0));
|
$biomePalette = new PalettedBlockArray($chunk->getBiomeId(0, 0));
|
||||||
for($x = 0; $x < 16; ++$x){
|
for($x = 0; $x < 16; ++$x){
|
||||||
for($z = 0; $z < 16; ++$z){
|
for($z = 0; $z < 16; ++$z){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user