Renaming to fit with usual naming pattern for inner Entity enums.
This commit is contained in:
parent
aa91956967
commit
f68970865f
@ -38,7 +38,7 @@ import com.massivecraft.massivecore.command.type.enumeration.TypeRabbitType;
|
|||||||
import com.massivecraft.massivecore.command.type.enumeration.TypeSkeletonType;
|
import com.massivecraft.massivecore.command.type.enumeration.TypeSkeletonType;
|
||||||
import com.massivecraft.massivecore.command.type.enumeration.TypeSound;
|
import com.massivecraft.massivecore.command.type.enumeration.TypeSound;
|
||||||
import com.massivecraft.massivecore.command.type.enumeration.TypeSpawnReason;
|
import com.massivecraft.massivecore.command.type.enumeration.TypeSpawnReason;
|
||||||
import com.massivecraft.massivecore.command.type.enumeration.TypeVariant;
|
import com.massivecraft.massivecore.command.type.enumeration.TypeParrotVariant;
|
||||||
import com.massivecraft.massivecore.command.type.enumeration.TypeVillagerProfession;
|
import com.massivecraft.massivecore.command.type.enumeration.TypeVillagerProfession;
|
||||||
import com.massivecraft.massivecore.command.type.enumeration.TypeWorldType;
|
import com.massivecraft.massivecore.command.type.enumeration.TypeWorldType;
|
||||||
import com.massivecraft.massivecore.command.type.primitive.TypeBooleanTrue;
|
import com.massivecraft.massivecore.command.type.primitive.TypeBooleanTrue;
|
||||||
@ -350,7 +350,7 @@ public class RegistryType
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
register(TypeVariant.get());
|
register(TypeParrotVariant.get());
|
||||||
}
|
}
|
||||||
catch (Throwable t)
|
catch (Throwable t)
|
||||||
{
|
{
|
||||||
|
@ -2,15 +2,15 @@ package com.massivecraft.massivecore.command.type.enumeration;
|
|||||||
|
|
||||||
import org.bukkit.entity.Parrot;
|
import org.bukkit.entity.Parrot;
|
||||||
|
|
||||||
public class TypeVariant extends TypeEnum<Parrot.Variant>
|
public class TypeParrotVariant extends TypeEnum<Parrot.Variant>
|
||||||
{
|
{
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
// INSTANCE & CONSTRUCT
|
// INSTANCE & CONSTRUCT
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
|
||||||
private static TypeVariant i = new TypeVariant();
|
private static TypeParrotVariant i = new TypeParrotVariant();
|
||||||
public static TypeVariant get() { return i; }
|
public static TypeParrotVariant get() { return i; }
|
||||||
public TypeVariant()
|
public TypeParrotVariant()
|
||||||
{
|
{
|
||||||
super(Parrot.Variant.class);
|
super(Parrot.Variant.class);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user