Vertical Slabs Compat

Vertical Slabs Compat

7M Downloads

Prod and dev env mismatch

JustBogdanOff opened this issue ยท 1 comments

commented

While trying to get a dev env running without issues in 1.20.1, I've noticed that having [Let's Do] Vinery installed registers the dirt path slab as vertical in production, whereas in development it correctly doesn't (looking at its source code the slab overrides the getShape method)

commented

Seems as if the ObfuscationReflectionHelper used to find both methods with doesn't actually translate the name (srg to mcp, and vice versa). Implementing the same check with the SRG name instead solves the issue, and I assume is a good way to do so since SRG names change every Minecraft version rather than Forge