Skript: Pre-flattening aliases break when one MC ID maps to multiple Bukkit materials (wheat, skull, etc.)

Created on 24 Aug 2019  路  7Comments  路  Source: SkriptLang/Skript

Description

Skript aliases! Wheat aliases do not work!

Steps to Reproduce

on break:
send "%event-block%"

Expected Behavior

It should throw out "rise wheat" not CROPS when I break it. Same problem with skull.

Errors / Screenshots

No console errors!

Server Information

Spigot 1.12.2 latest
Skript 2.4-beta3

bug completed medium

Most helpful comment

Will investigate.

All 7 comments

get skript 2.4-beta5 cuase beta3 is old

Same problem

Please fix that

2.4-beta3 is so recent there really isn't a difference anyways. Will test this out later

Will investigate.

I've spoken with bensku about this and this is due to a single bug in how aliases work right now: they are unable to handle when one Minecraft ID maps to multiple different Bukkit materials. Currently there is no way to address this from the alias configs and it is handled in the code case-by-case. Hopefully the devs can address that limitation or make those overrides configurable in the future.

Point being, this isn't something I can fix and isn't an issue in the aliases themselves.

Was this page helpful?
0 / 5 - 0 ratings