private EventList getEventListeners(Class<? extends Event> type) {
        try {
            Method method = getRegistrationClass(type).getDeclaredMethod("getEventList");
            method.setAccessible(true);
            return (EventList) method.invoke(null);
        } catch (Exception e) {
        	server.Log("==!EVENT ERROR!==");
            e.printStackTrace();
            return null;
        }
    }