SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.05k stars 362 forks source link

Llama spawner bug #5439

Open Drakemlumme opened 1 year ago

Drakemlumme commented 1 year ago

Skript/Server Version

Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
Skript's documentation can be found here: https://skriptlang.github.io/Skript
Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
Server Version: git-Paper-392 (MC: 1.19.3)
Skript Version: 2.6.4
Installed Skript Addons:
 - skript-placeholders v1.5.2 (https://github.com/APickledWalrus/skript-placeholders)
 - skUtilities v0.9.2 (https://tim740.github.io/)
 - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
 - skRayFall v1.9.28 (https://sk.rayfall.net/)
 - SkBee v2.7.4 (https://github.com/ShaneBeee/SkBee)
 - skript-worldguard v1.0-alpha1-nightly-caec763 (https://github.com/SkriptLang/skript-worldguard)
 - MythicSkriptAddon v0.99e-SNAPSHOT
Installed dependencies:
 - Vault v1.7.3-b131
 - WorldGuard v7.0.7+216b061

Bug Description

when I use the following effect on a spawner: set target block's entity type to llama spawner mob changes to trader llama.

if the spawner's mob is a llama and I use: broadcast "%target block's entity type%" returns <none>

Expected Behavior

spawner, pls, be a llama

Steps to Reproduce

on right click on spawner:
    set target block's entity type to llama

Errors or Screenshots

### Other _No response_ ### Agreement - [X] I have read the guidelines above and affirm I am following them with this report.
Fusezion commented 1 year ago

Screenshot for showcasing

image

First try was with me manually setting the type using a spawn egg to llama Second try was with me manually setting the type using a spawn egg to a trader llama

NotSoDelayed commented 1 year ago

After some intense debugging, in EntityUtils.SPAWNER_TYPES field, looks like llama is registered as trader llama and no values for trader llama were found, as shown in this screenshot: image