Renaming to fit with usual naming pattern for inner Entity enums.

This commit is contained in:
ulumulu1510 2017-07-04 22:42:48 +02:00
parent aa91956967
commit f68970865f
2 changed files with 6 additions and 6 deletions

View File

@ -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)
{ {

View File

@ -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);
} }