Mark EnumColor as deprecated
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
package exopandora.worldhandler.format;
|
package exopandora.worldhandler.format;
|
||||||
|
|
||||||
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public enum EnumColor
|
public enum EnumColor
|
||||||
{
|
{
|
||||||
@@ -55,6 +58,7 @@ public enum EnumColor
|
|||||||
return "\u00A7" + this.prefix;
|
return "\u00A7" + this.prefix;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
public static EnumColor getColorFromId(int id)
|
public static EnumColor getColorFromId(int id)
|
||||||
{
|
{
|
||||||
if(id >= 0 && id < EnumColor.values().length)
|
if(id >= 0 && id < EnumColor.values().length)
|
||||||
|
|||||||
Reference in New Issue
Block a user