mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-06 12:16:11 +08:00
Need internal ID for EntityType here too.
This commit is contained in:
parent
a22b5535fe
commit
6937cfc9a9
@ -334,7 +334,7 @@ public static Biome adapt(BiomeType biomeType) {
|
||||
* @return WorldEdit EntityType
|
||||
*/
|
||||
public static EntityType adapt(org.bukkit.entity.EntityType entityType) {
|
||||
return EntityTypes.get(entityType.name().toLowerCase());
|
||||
return EntityTypes.get(entityType.getName().toLowerCase());
|
||||
}
|
||||
|
||||
public static org.bukkit.entity.EntityType adapt(EntityType entityType) {
|
||||
|
Loading…
Reference in New Issue
Block a user