package net.glowstone.constants;

import org.bukkit.event.player.PlayerResourcePackStatusEvent.Status;

/**
 * Mappings for resource pack status codes.
 */
public final class ResourcePackStatus {

    private ResourcePackStatus() {
    }

    private static final Status[] statuses = new Status[Status.values().length];

    /**
     * Get the status for a specified id.
     * @param code the code.
     * @return the Status, or null
     */
    public static Status getStatus(int code) {
        return statuses[code];
    }

    private static void set(int code, Status status) {
        statuses[code] = status;
    }

    static {
        set(0, Status.SUCCESS);
        set(1, Status.DECLINED);
        set(2, Status.FAILED_DOWNLOAD);
        set(3, Status.ACCEPTED);
    }
}

@@ -658,16 +658,28 @@
 .SUCCESS
+FULLY_LOADED
 );%0A     

Fix ResourcePackStatus