@@ -0,0 +1,629 @@
+package tk.martijn_heil.nincore.api.util;%0A%0A%0Aimport com.google.common.base.Preconditions;%0Aimport org.bukkit.Bukkit;%0Aimport org.bukkit.event.Cancellable;%0Aimport org.bukkit.event.Event;%0Aimport org.jetbrains.annotations.NotNull;%0A%0Apublic class Events%0A%7B%0A    public static boolean attempt(@NotNull Cancellable c)%0A    %7B%0A        Preconditions.checkNotNull(c);%0A        Preconditions.checkArgument(c instanceof Event,%0A                %22The given org.bukkit.event.Cancellable is not an instance of org.bukkit.event.Event%22);%0A%0A        Event e = (Event) c;%0A        Bukkit.getPluginManager().callEvent(e);%0A        return c.isCancelled();%0A    %7D%0A%7D%0A

Add Events utility