package com.forgeessentials.multiworld;

public class MultiworldException extends Exception
{
	private static final long serialVersionUID = 1L;
	
	public static enum Type
    {
        ALREADY_EXISTS("A world with that name already exists"),
        NO_PROVIDER("No world provider %s found!"),
        NO_WORLDTYPE("No world type %s found!");

        public String error;
        private Type(String error)
        {
            this.error = error;
        }
    }

    public Type type;
    protected MultiworldException(Type type)
    {
        this.type = type;

    }
}

package com.forgeessentials.multiworld;

public class MultiworldException extends Exception
{
	private static final long serialVersionUID = 1L;
	
	public static enum Type
    {
        ALREADY_EXISTS("A world with that name already exists"),
        NO_PROVIDER("There is no provider by that name"),
        NO_WORLDTYPE("There is no world type by that name");

        public String error;
        private Type(String error)
        {
            this.error = error;
        }
    }

    public Type type;
    protected MultiworldException(Type type)
    {
        this.type = type;

    }
}

Fix client crash caused by %s in the exception message.