-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.18] Fix block duplication due to separate Fabric BlockPlace and BlockRightClick events #213
base: 1.18/dev
Are you sure you want to change the base?
Conversation
… and private setting check
Hmm, if possible, I'd obviously like to see this properly resolved on the Architectury / Fabric side so we don't have to use more platform stuff than strictly necessary |
@MaxNeedsSnacks can you confirm if you plan on fixing this issue in Arch any time soon or should I pull this in until it's resolved your end? |
@zach2039 if you're still interested in getting this merged, could you please rebase it on the latest |
Given the lack of response, I'm inclined to extract the code from this and manually patch it into Chunks. Needs doing since it does lead to a dupe on Fabric at the moment. If/when Architectury gets updated to better separate the concept of use and place, we can switch to that. |
Manual adaptation and pull of #213 Merge the block interaction and block edit properties on Fabric, since we cannot reliably distinguish right-clicking a block to use it versus right-clicking a block to place it. Means reduced functionality on Fabric vs. Forge, but still better than allowing dupes to occur. Also added a little code to re-sync client's held item from the server whenever a place or use event is cancelled. FTBTeam/FTB-Mods-Issues#673 FTBTeam/FTB-Mods-Issues#315
Manual adaptation and pull of #213 Merge the block interaction and block edit properties on Fabric, since we cannot reliably distinguish right-clicking a block to use it versus right-clicking a block to place it. Means reduced functionality on Fabric vs. Forge, but still better than allowing dupes to occur. Also added a little code to re-sync client's held item from the server whenever a place or use event is cancelled. FTBTeam/FTB-Mods-Issues#673 FTBTeam/FTB-Mods-Issues#315
Fixes FTBTeam/FTB-Mods-Issues#315.
Key changes:
Tested in fabric dev environment on with server and two clients.