OldCombatMechanics

OldCombatMechanics

46.1k Downloads

[Suggestion] Option to disable shield with specific items

SeruhioX opened this issue ยท 5 comments

commented

I am currently using kitbattle advanced, this uses mushroom soup to recover life, the thing is that this soup is drunk instantly, and if you quickly change your sword for a soup, you can not drink it until the shield disappears, so I would like it to work as with the potions (that the shield did not move to protect)

commented

You can try adding the soup to the noBlockingItems: [] list under the sword-blocking header in the config.yml.

commented

In theory, one way to handle this would be to automatically cancel/remove the shield when you switched hotbar slots. Perhaps this should be moved to the todo list.

commented

Possibly patched in 928b7ab, but I have yet to test the build. Since I am quite busy, I will most likely not have time to test this any time soon. However, if you would like to test it, here is a compiled JAR with the patch:

OldCombatMechanics-hotbar-patch-beta.zip
(GitHub required that the file be zipped first, but it just contains a JAR file)

Please let me know how it works out for you!

P.S. don't forget to remove the current OldCombatMechanics JAR file temporarily while testing the patched version :)

commented

Now it works correctly, thank you very much.