EdwinMindcraft / origins-architectury

MIT License
20 stars 17 forks source link

Game crashes when using Origin command inside of /execute #408

Closed ryleu closed 7 months ago

ryleu commented 9 months ago

image https://mclo.gs/B1MQKwl

Origins v1.20.1-1.10.0.5 Caelus API v3.1.0+1.20 Forge v47.2.0 Minecraft v1.20.1

Reproduced crash with just Origins and its dependencies.

/scoreboard objectives add origins dummy   
/execute store success score @s origins run origin has @s origins:origin -> (hit tab here)
ryleu commented 9 months ago

It seems to be a brigadier issue, so that basically means the parser doesn't know what to do with your command.

MerchantPug commented 7 months ago

I've implemented a partial fix for this similar to the one found in Origins Fabric. Suggestions will not work for Origins inside /execute, but at least it doesn't crash.