Andrew6rant / Auto-Slabs

Inject blockstates at runtime to automatically generate vertical slabs for every instance of SlabBlock
MIT License
26 stars 5 forks source link

Fix Slab Duplication #9

Closed Superkat32 closed 1 year ago

Superkat32 commented 1 year ago

Solves #8 . This is the solution I came up with that seemed to work pretty well. Removing the player.isSneaking() if statement caused the initial duplication to be fixed, but then caused more duplication elsewhere, so that's why I've kept that there. If you see anything wrong with my solution, please let me know and I'll try to fix it.

Andrew6rant commented 1 year ago

Thanks for the PR!

Superkat32 commented 1 year ago

Thank you! I've had a lot of fun playing with this mod.