// Path: src/main/java/com/btk5h/skriptmirror/WrappedEvent.java
// public abstract class WrappedEvent extends Event {
//   private final Event event;
// 
//   protected WrappedEvent(Event event) {
//     this.event = event;
//   }
// 
//   public Event getEvent() {
//     return event instanceof WrappedEvent ? ((WrappedEvent) event).getEvent() : event;
//   }
// 
//   public Event getDirectEvent() {
//     return event;
//   }
// }


import ch.njol.skript.Skript;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.ExpressionType;
import ch.njol.skript.lang.SkriptParser;
import ch.njol.skript.lang.util.SimpleExpression;
import ch.njol.util.Kleenean;
import com.btk5h.skriptmirror.WrappedEvent;
import org.bukkit.event.Event;
package com.btk5h.skriptmirror.skript.reflect;


public class ExprEvent extends SimpleExpression<Event> {
  static {
    Skript.registerExpression(ExprEvent.class, Event.class, ExpressionType.SIMPLE, "[the] event");
  }

  @Override
  protected Event[] get(Event e) {
// Path: src/main/java/com/btk5h/skriptmirror/WrappedEvent.java
// public abstract class WrappedEvent extends Event {
//   private final Event event;
// 
//   protected WrappedEvent(Event event) {
//     this.event = event;
//   }
// 
//   public Event getEvent() {
//     return event instanceof WrappedEvent ? ((WrappedEvent) event).getEvent() : event;
//   }
// 
//   public Event getDirectEvent() {
//     return event;
//   }
// }


// Path: src/main/java/com/btk5h/skriptmirror/skript/reflect/ExprEvent.java
import ch.njol.skript.Skript;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.ExpressionType;
import ch.njol.skript.lang.SkriptParser;
import ch.njol.skript.lang.util.SimpleExpression;
import ch.njol.util.Kleenean;
import com.btk5h.skriptmirror.WrappedEvent;
import org.bukkit.event.Event;

package com.btk5h.skriptmirror.skript.reflect;


public class ExprEvent extends SimpleExpression<Event> {
  static {
    Skript.registerExpression(ExprEvent.class, Event.class, ExpressionType.SIMPLE, "[the] event");
  }

  @Override
  protected Event[] get(Event e) {
    if (e instanceof WrappedEvent) {