Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Rename biome name. #421

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/MyPlot/subcommand/BiomeSubCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class BiomeSubCommand extends SubCommand
{
public CONST BIOMES = ["PLAINS" => BiomeIds::PLAINS, "DESERT" => BiomeIds::DESERT, "MOUNTAINS" => BiomeIds::MOUNTAINS, "FOREST" => BiomeIds::FOREST, "TAIGA" => BiomeIds::TAIGA, "SWAMP" => BiomeIds::SWAMP, "NETHER" => BiomeIds::HELL, "HELL" => BiomeIds::HELL, "ICE_PLAINS" => BiomeIds::ICE_PLAINS];
public CONST BIOMES = ["PLAINS" => BiomeIds::PLAINS, "DESERT" => BiomeIds::DESERT, "EXTREME_HILLS" => BiomeIds::EXTREME_HILLS, "FOREST" => BiomeIds::FOREST, "TAIGA" => BiomeIds::TAIGA, "SWAMPLAND" => BiomeIds::SWAMPLAND, "NETHER" => BiomeIds::HELL, "HELL" => BiomeIds::HELL, "ICE_PLAINS" => BiomeIds::ICE_PLAINS];

public function canUse(CommandSender $sender) : bool {
return ($sender instanceof Player) and $sender->hasPermission("myplot.command.biome");
Expand Down Expand Up @@ -77,4 +77,4 @@ public function getForm(?Player $player = null) : ?MyPlotForm {
return new BiomeForm(array_keys(self::BIOMES));
return null;
}
}
}