Skip to content

Entity owner is always <none> #8397

@JustusJG

Description

@JustusJG

Skript/Server Version

[19:25:03 INFO]: [Skript] Die Aliase von Skript finden Sie hier: https://github.com/SkriptLang/skript-aliases
[19:25:03 INFO]: [Skript] Die Dokumentation von Skript finden Sie hier: https://docs.skriptlang.org/
[19:25:03 INFO]: [Skript] Die Tutorials von Skript finden Sie hier: https://docs.skriptlang.org/tutorials
[19:25:03 INFO]: [Skript] Server Version: 1.21.11-92-e7445e1 (MC: 1.21.11)
[19:25:03 INFO]: [Skript] Skript Version: 2.14.0 (skriptlang-github)
[19:25:03 INFO]: [Skript] Installierte Skript Addons: None
[19:25:03 INFO]: [Skript] Installierte Abhängigkeiten: 
[19:25:03 INFO]: [Skript]  - Vault v2.16.0
[19:25:03 INFO]: [Skript]  - WorldGuard v7.0.15-SNAPSHOT+4878cfa

Bug Description

I believe that the entity owner does not work. I made this script:

on tame:
        if the tamer is a player:
                send "%the tamer% just tamed %event-entity%" to all players
                send "%event-entity's tamer% just tamed %event-entity%" to all players

When someone (let's call him Carl) tames a wolf two messages get send:
"Carl just tamed wolf" and "<none> just tamed wolf"

Expected Behavior

I expect these two messages to get send: "Carl just tamed wolf" and "Carl just tamed wolf".

Steps to Reproduce

Copy the script and tame a wolf.

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

Labels

bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.needs triageAn issue that hasn't been classified or verified yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions