Wrong error caught for backcompat.

This commit is contained in:
wizjany 2016-05-23 09:47:12 -04:00
parent 15a9c50ea4
commit 0e252e41b2

View File

@ -64,7 +64,6 @@
import javax.annotation.Nullable;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Set;
import java.util.logging.Logger;
import java.util.regex.Pattern;
@ -388,7 +387,7 @@ public void onPlayerTeleport(PlayerTeleportEvent event) {
return;
}
}
} catch (NoSuchElementException ignored) {}
} catch (NoSuchFieldError ignored) {}
}
}