Mark EnumColor as deprecated

This commit is contained in:
Marcel Konrad
2018-09-11 00:04:28 +02:00
parent 65e41fb7d8
commit ee13f9ccdb

View File

@@ -1,8 +1,11 @@
package exopandora.worldhandler.format;
import javax.annotation.Nullable;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@Deprecated
@SideOnly(Side.CLIENT)
public enum EnumColor
{
@@ -55,6 +58,7 @@ public enum EnumColor
return "\u00A7" + this.prefix;
}
@Nullable
public static EnumColor getColorFromId(int id)
{
if(id >= 0 && id < EnumColor.values().length)