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.
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.