-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Terraform bug (12 chunks), right clicking with offhand #20
Comments
I just realized I am on 1.6.5, updating to 1.6.7 and seeing if it persists. |
The extra blocks broken is because AureliumSkills calls its own BlockBreakEvents for each block broken to make sure the player can actually break the block there. It probably is another plugin interfering but I can add a sort of cooldown to make sure that only one effective break happens. As for the activation, I will fix this soon. Currently there is a require_sneak option for speed_mine in abilities_config.yml but it just outright requires sneak to activate. I'll probably do what you stated as the default, then add some options to configure it however you want. |
I don't know how fast this will be fixed though, because the more changes I make in Alpha makes Beta development more tedious to update. I may have to put this in the Beta 1.0.0 update, which is mostly done but just needs one key feature to be finished. |
Good call. I just remembered that Minetinkers has a 3x1 modifier for the spoon. That then becomes a multiplier for the blockbreak, since the player is the one "breaking" it. (reading the code). What about a hotfix patch within alpha? |
I'll do a hotfix update tomorrow/today with what's currently in master plus these fixes. |
sounds good! I got started on a patch myself to PR, but you know the code much better. feel free to look over mine tho it has been a hot minute since I've done any Java haha |
Sure I'll let you do what you can on the fixes and make any changes if necessary. |
Done: #21 I did it in GH's web IDE, but it should be fine unless I misread or missed something. |
I merged new options for when mana abilities should ready, but the too many blocks broken bug is going to have to wait because I don't know what that other plugin is doing to cause it, and there isn't an easy fix. |
THe plugin is Minetinkers with the Power modifier, https://github.com/Flo56958/MineTinker/wiki/MineTinker-Explanation#power--axepickaxeshovel and that's just something that will always happen if those two are together, so no worries. now that I know about it, I can be more careful. :) Thank you for the quick fix! |
Server Version and Software
e.g. Paper 1.16.5
Description
This problem is two-fold:
Right clicking to activate abilities overrides vanilla offhand mechanics; because of so, abilities are activated a lot more often than a player wants, when trying to break/place easily (pick in main, block in off)
Terraform ate somewhere around 10 to 12 chunk radius around me, all in the same layer, instead of default 4 blocks. I also have installed MineTinker but it shouldn't interfere with Skills' mechanics.
How To Reproduce
Steps to reproduce the behavior:
Expected behavior
As stated in wiki, 4 block radius max.
Actual behavior
it destroys all blocks of similar hardness or lower in a very large radius. Attached screenshot is only a smaller section I did for testing. It destroyed chests, dirt, grass (not all of it, oddly enough) flowers (not on top of the destroyed grass).
Screenshots
If applicable, add screenshots to help explain your problem.
Thoughts
This mechanic was great in MCMMO when offhand did not exist. Since offhand is now a thing, the right click with a tool can no longer be assumed to be a "dead" action that leads nowhere. The plugin should check if the offhand is empty or if player is sneaking. Adding these two
or
checks will allow for regular right clicking to still place blocks, torches or other offhand interactions without sacrificing accidentally triggering abilities.The text was updated successfully, but these errors were encountered: