Name of Block no longer works #7502
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
PR available
Issues which have a yet-to-be merged PR resolving it
Skript/Server Version
Bug Description
I noticed that since Skript 2.10, the name of expression no longer seems to work on blocks.
Expected Behavior
I should be able to get/set the name of a block.
Steps to Reproduce
send "Name: %name of target block%"
(While looking at it)Errors or Screenshots
Skript 2.9.5:
Skript 2.10.0:
Other
After doing some digging and throwing a bunch of debug lines in, I came to the conclusion that the Block is getting converted to an inventory before it has a chance to get converted to AnyNamed.
Skript/src/main/java/ch/njol/skript/expressions/ExprName.java
Line 102 in 9e69c9c
Agreement
The text was updated successfully, but these errors were encountered: