mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
Generate methods for surrogate enums, nip stupidity in the bud
this also allows changing the internal implementation later without breaking plugins.
This commit is contained in:
@@ -99,7 +99,7 @@ abstract class Biome{
|
||||
|
||||
self::register(self::SMALL_MOUNTAINS, new SmallMountainsBiome());
|
||||
|
||||
self::register(self::BIRCH_FOREST, new ForestBiome(TreeType::$BIRCH));
|
||||
self::register(self::BIRCH_FOREST, new ForestBiome(TreeType::BIRCH()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user