Wurst-Imperium / Wurst7

Minecraft Wurst Hacked Client v7
https://www.wurstclient.net/download/?utm_source=GitHub&utm_medium=Wurst+Client&utm_content=Wurst7+GitHub+repo+sidebar+website+link
GNU General Public License v3.0
975 stars 406 forks source link

Excavator: Make use of creative fly #1032

Open Rubylium opened 4 days ago

Rubylium commented 4 days ago

Pre-suggestion checklist

What type of improvement are you suggesting?

Changing the settings of existing features.

What type of player would find this improvement useful?

Miners

Description

The Excavator is very usefull, but it could be better if it can take in account creative fly. If I toggle the flight module, it will take it in account, but some server detect this. Some server give you by default creative fly ( I'm mostly thinking of prison servers ), it would be perfect if the system could detect that the player has creative flight and make use of it for Excavator ( avoiding flight detection and still improving the usage of Excavator with fly )

Rubylium commented 4 days ago

image Looking a bit at the code, it seems to already check for the flightHack ( make sense, it works fine with it ) but also mcAbilities.flying. I suppose that mcAbilities.flying is not true when we are in survival and the server grant us fly, causing the issue

Rubylium commented 3 days ago

Something I also noticed, is that if I start Excavator with creative fly in survival, it can ( sometime, not all the time ), start doing the work with fly, but the moment it touch ground it will stay on the ground and not use fly anymore, like it lost the ability to use it