From 11b2d9bb296e3b159615c9df021f61e5dc68dbe8 Mon Sep 17 00:00:00 2001 From: Magnus Ulf Date: Tue, 14 May 2019 10:11:45 +0200 Subject: [PATCH] Remove TypeCatType It was unused and caused backwards compatibility problems --- .../massivecore/command/type/RegistryType.java | 2 -- .../command/type/enumeration/TypeCatType.java | 18 ------------------ 2 files changed, 20 deletions(-) delete mode 100644 src/com/massivecraft/massivecore/command/type/enumeration/TypeCatType.java diff --git a/src/com/massivecraft/massivecore/command/type/RegistryType.java b/src/com/massivecraft/massivecore/command/type/RegistryType.java index 195f2e31..05966fd1 100644 --- a/src/com/massivecraft/massivecore/command/type/RegistryType.java +++ b/src/com/massivecraft/massivecore/command/type/RegistryType.java @@ -29,7 +29,6 @@ import com.massivecraft.massivecore.command.type.enumeration.TypeHorseStyle; import com.massivecraft.massivecore.command.type.enumeration.TypeHorseVariant; import com.massivecraft.massivecore.command.type.enumeration.TypeLlamaColor; import com.massivecraft.massivecore.command.type.enumeration.TypeMaterial; -import com.massivecraft.massivecore.command.type.enumeration.TypeCatType; import com.massivecraft.massivecore.command.type.enumeration.TypeParrotVariant; import com.massivecraft.massivecore.command.type.enumeration.TypeParticle; import com.massivecraft.massivecore.command.type.enumeration.TypeRabbitType; @@ -308,7 +307,6 @@ public class RegistryType register(TypeHorseStyle.get()); register(TypeHorseVariant.get()); register(TypeMaterial.get()); - register(TypeCatType.get()); register(TypeParticle.get()); register(TypeSpawnReason.get()); register(TypeRabbitType.get()); diff --git a/src/com/massivecraft/massivecore/command/type/enumeration/TypeCatType.java b/src/com/massivecraft/massivecore/command/type/enumeration/TypeCatType.java deleted file mode 100644 index 4b5ec17c..00000000 --- a/src/com/massivecraft/massivecore/command/type/enumeration/TypeCatType.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.massivecraft.massivecore.command.type.enumeration; - -import org.bukkit.entity.Cat.Type; - -public class TypeCatType extends TypeEnum -{ - // -------------------------------------------- // - // INSTANCE & CONSTRUCT - // -------------------------------------------- // - - private static TypeCatType i = new TypeCatType(); - public static TypeCatType get() { return i; } - public TypeCatType() - { - super(Type.class); - } - -}