Avanatiker / client

KAMI Blue: a continuation of KAMI
https://kamiblue.org
GNU Lesser General Public License v3.0
18 stars 11 forks source link

Possible Fix for AutoObsidian [Not able to Test] #24

Closed zincodrone closed 3 years ago

zincodrone commented 3 years ago

Describe the pull AutoObby has an issue where it will continue to pick up Obsidian. Even if your inventory is full so if there is extra obby it will keep you stuck standing over the obby.

Information At line(s) 238: mc.player?.inventory?.mainInventory.let At line(s) 260: mc.player?.inventory?.mainInventory?.let

Possible fix being instead of mc.player?.inventory?.mainInventory.let insert a another question mark mc.player?.inventory?.mainInventory?.let

Otherwise, remove null values [?] or add a confirmation statement.

If no changes work then I will attempt to start a testing process.

Additional context Could be wrong, but I may be right so this could be helpful. ¯_(ツ)_/¯

theredstoner commented 3 years ago

It's fine to add this change, but I'm not sure if it will solve your problem. Can you try with the latest tip of master and let me know if this is still happening?

Avanatiker commented 3 years ago

Thank u a lot for contributing :) i just tested it and it works fine