Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1880

Closed
Open
Created Mar 31, 2025 by tygh78071388@tygh78071388

Targeters behave incorrectly in metaskills called from randomskill

Summary

The 'message' skill causes the message to be visible to everyone on the server, including those in creative mode or spectator mode (which are set to be ignored in config.yml).

Steps to reproduce

draw_lots:
  Skills:
  - message{m="&f&l你口中唸唸有詞..向神靈祈求一支籤&a&l(溫馨提示:開啟音效會更有氛圍感)"} @self
  - delay 70
  - randomskill{skills=大吉,吉,小吉,中平,小凶,凶,大凶} @self
大吉:
  Skills:
  - message{m="&f玩家 &e<caster.name>&f 抽到了&6&l大吉&f恭喜他!"} @PlayersInRadius{r=10}
  - message{m="恭喜你抽到了&6&l大吉!"} @self

### @PlayersInRadius{r=10}
This section causes it to be visible to everyone on the server. However, when I put 'message' under the 'draw_lots' skill, it functions normally.
I use MMOItems to invoke this skill. I think it's related to the recent update regarding the 'message' skill.

paper 1.21.1 MythicMobsPremium-5.8.2-SNAPSHOT

Edited Mar 31, 2025 by Brickgard
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking