Skip to content

Parse section in custom event structure is not executed #164

@devdinc

Description

@devdinc

Describe the bug
Parse section in custom event structure is not executed

To reproduce

import:
    org.bukkit.Bukkit

custom event "testEventParse":
    pattern: testEvent
    parse:
        set {_test} to "abc"
        broadcast "haaa"
        Bukkit.broadcastMessage("hello")
        continue
    check:
        broadcast "%{_test}%"
        continue

on testEvent:
    set {_useless} to {_none}
    
on load:
    set {_a} to custom event "testEventParse"
    call {_a}

Expected behavior
Broadcasts abc, haaa, and hello

Server information

  • skript-reflect: 2.6.3
  • Skript: 2.14.1
  • Bukkit: Paper 1.21.8-60-29c8822 (MC: 1.21.8)
  • Minecraft:
  • Java: OpenJDK 21
  • OS: Linux alpine using itzg/docker-minecraft-server

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions