geforkt von Mirrors/FastAsyncWorldEdit
Play nicer with naughty plugins.
Dieser Commit ist enthalten in:
Ursprung
f0c0eedde7
Commit
a18f26f8af
@ -335,7 +335,11 @@ public class BukkitAdapter {
|
||||
* @return WorldEdit EntityType
|
||||
*/
|
||||
public static EntityType adapt(org.bukkit.entity.EntityType entityType) {
|
||||
return EntityTypes.get(entityType.getName().toLowerCase(Locale.ROOT));
|
||||
final String name = entityType.getName();
|
||||
if (name == null) {
|
||||
return null;
|
||||
}
|
||||
return EntityTypes.get(name.toLowerCase(Locale.ROOT));
|
||||
}
|
||||
|
||||
public static org.bukkit.entity.EntityType adapt(EntityType entityType) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren