Immersive Weathering [FORGE]

Immersive Weathering [FORGE]

6M Downloads

Server crash when immersive weathering changes grass blocks

TheRanker opened this issue ยท 1 comments

commented

Brian-Wuest/MC-Prefab-Fabric#62

They blame you.

I blame them..

Who knows who's to blame?.

commented

Mojang is to blame actually.
This can be fixed on both sides so we will but let me explain the issue and if you want you can relay.
Basically every block method takes in a blockstate, now there's an non explicit rule that states that the given blockstate should belong to the block where that method is called from. Most block methods, vanilla or modded, will fail if given as a parameter a blocksate they do not own.
The problem here lies into how mojang does their stairs since it does exactly this, calling the base block canTick function giving it its the stairs block blocksate instead of one from the base block itself like it expects. For vanilla this does nothing since the blockstates arent checked for their particular implementation but can cause issues for modded stuff.
In other words mojank