geforkt von Mirrors/FastAsyncWorldEdit
Bukkit really needs methods to get by key/get key
Dieser Commit ist enthalten in:
Ursprung
18abaa21a2
Commit
42e0cceeab
@ -283,7 +283,7 @@ public class BukkitAdapter {
|
|||||||
* @return WorldEdit EntityType
|
* @return WorldEdit EntityType
|
||||||
*/
|
*/
|
||||||
public static EntityType adapt(org.bukkit.entity.EntityType entityType) {
|
public static EntityType adapt(org.bukkit.entity.EntityType entityType) {
|
||||||
return EntityTypes.get(entityType.getName().toLowerCase());
|
return EntityTypes.get(entityType.name().toLowerCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static org.bukkit.entity.EntityType adapt(EntityType entityType) {
|
public static org.bukkit.entity.EntityType adapt(EntityType entityType) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren