001package com.ericlam.mc.minigames.core.exception.arena.create;
002
003public class IllegalWarpException extends WarpException {
004
005    private String[] allowWarps;
006
007    public IllegalWarpException(String warp, String... allowWarps) {
008        super(warp);
009        this.allowWarps = allowWarps;
010    }
011
012    public String[] getAllowWarps() {
013        return allowWarps;
014    }
015}