Can't access cactus_green or green_dye with "/i" and "/give" command
axemwa opened this issue ยท 12 comments
Possible Bug
Description
Can't access cactus_green or green_dye with "/i" and "/give" command
CACTUS_GREEN doesn't appear to be in the material list anymore
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
/essentials version output
[10:00:33 INFO]: Server version: 1.13.2-R0.1-SNAPSHOT git-Paper-641 (MC: 1.13.2)
[10:00:33 INFO]: EssentialsX version: 2.17.1.0
[10:00:33 INFO]: LuckPerms version: 4.4.1
[10:00:33 INFO]: Vault version: 1.7.2-b107
[10:00:33 INFO]: EssentialsXGeoIP version: 2.17.1.0
@md678685 It fixes green_dye but not cactus_green. I'm assuming this may have been what you meant by "it doesn't quite have the same amount of aliases as the previous items.json" though, since I'm not sure if the game ever did call it cactus_green or if that was just an essentials built-in alias. In any case, I'd say it's working though with the PR.
I can also confirm this in 1.15. Going to remove the "not enough info" label since I think it's pretty clear how to replicate this bug. The command /minecraft:give <player> green_dye
works, but /essentials:give <player> green_dye
does not.
Server details:
[15:25:39 INFO]: Server version: 1.15.1-R0.1-SNAPSHOT git-Paper-29 (MC: 1.15.1)
[15:25:39 INFO]: EssentialsX version: 2.17.1.29
[15:25:39 INFO]: LuckPerms version: 4.4.1
[15:25:39 INFO]: Vault version: 1.7.2-b107
[15:25:39 INFO]: EssentialsXProtect version: 2.17.1.29
[15:25:39 INFO]: EssentialsXGeoIP version: 2.17.1.29
[15:25:39 INFO]: EssentialsXChat version: 2.17.1.29
[15:25:39 INFO]: EssentialsXAntiBuild version: 2.17.1.29
[15:25:39 INFO]: EssentialsXSpawn version: 2.17.1.29
Could you test this with the items.json
file from #2897? That should include fallbacks for items that changed between versions.
Both legacy aliases and fallbacks to the old materials have been added as of d92f5ce - you can download the latest build from the downloads page.
I also use ViaVersion (so newer client versions can join) and ProtocolSupport (so older client versions can join) whether they be affecting it I dunno. I am joining with a 1.13.2 client same as the server though when I test this
Have you tried deleting items.json
and restarting the server? The latest items.json
includes names for both 1.13 and 1.14 and should work on both versions.
Could you run /ess debug
, then try /i green_dye 1
and post the error from the console log?
Can reproduce on the following version:
[01:23:00 INFO]: CONSOLE issued server command: /ess version
[01:23:00 INFO]: Server version: 1.13.2-R0.1-SNAPSHOT git-Paper-624 (MC: 1.13.2)
[01:23:00 INFO]: EssentialsX version: 2.17.1.11
Running /itemdb
ingame while holding cactus green returns this along with this stacktrace in debug mode: