mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Add missing extends Entity to EntityType entity class
This commit is contained in:
parent
2abfcc4958
commit
214a725c18
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ public abstract class EntityType implements OldEnum<EntityType>, Keyed, Translat
|
|||
*
|
||||
* @param <E> the generic data type of the entity that represents the entity type.
|
||||
*/
|
||||
public abstract static class Typed<E> extends EntityType {
|
||||
public abstract static class Typed<E extends Entity> extends EntityType {
|
||||
|
||||
/**
|
||||
* Gets the Entity class of this EntityType
|
||||
|
@ -373,7 +373,7 @@ public abstract class EntityType implements OldEnum<EntityType>, Keyed, Translat
|
|||
public abstract boolean isAlive();
|
||||
|
||||
@Nullable
|
||||
public abstract Class<?> getEntityClass();
|
||||
public abstract Class<? extends Entity> getEntityClass();
|
||||
|
||||
/**
|
||||
* Gets if this EntityType is enabled by feature in a world.
|
||||
|
|
Loading…
Add table
Reference in a new issue