powerskiller: requiredItems bug-fix

This commit is contained in:
illumineawake 2020-07-12 17:01:02 +10:00
parent 10efd047f2
commit 2d676694e9
8 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ import ProjectVersions.openosrsVersion
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
version = "2.2.0"
version = "2.3.0"
project.extra["PluginName"] = "BotUtils" // This is the name that is used in the external plugin manager panel
project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation" // This is the description that is used in the external plugin manager panel

View File

@ -23,7 +23,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
version = "1.4.0"
version = "1.5.0"
project.extra["PluginName"] = "Magic Splasher"
project.extra["PluginDescription"] = "Illumine automated magic splasher"

View File

@ -1 +1 @@
[{"projectUrl":"","provider":"illumine","name":"BotUtils","description":"Illumine - Utils required for plugins to function with added automation","id":"botutils-plugin","releases":[{"date":"2020-07-12","sha512sum":"5818515A9BF7F010D44CC84F741C47809D399BA92160E65ED9B09BA475523A85D9CCB9AEFDFBA123FB1B547966A440597DCF85CDC1D63C61D4020D782BFD4D45","version":"2.2.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-2.2.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Magic Splasher","description":"Illumine automated magic splasher","id":"magicsplasher-plugin","releases":[{"date":"2020-07-12","sha512sum":"E27FEFE125C21354CBC0CFC27B779455C94705DE2D4E1470604E00ADC315B85B47098C6F3E7F2B8F14B9F9A66887967C3C09091DA2C9BB3F46C0F2004EBA92CE","version":"1.4.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/magicsplasher-1.4.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Power Skiller","description":"Illumine auto power skiller plugin","id":"powerskiller-plugin","releases":[{"date":"2020-07-12","sha512sum":"53110CBD2F135B426FC2C5448DBB8D993A313C642726ABEF46C6F77B49561869F9B3F0BA7F8D85F75A1014499F79022A0B06BC886B03B8472D4272EDC7B0D082","version":"2.2.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerskiller-2.2.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Quick Eater","description":"Illumine - auto eat food below configured HP","id":"quickeater-plugin","releases":[{"date":"2020-07-12","sha512sum":"83BC9458AFD0712F0D9804C4941D12908F874830E0AB781BA962C383C0178E32880188410B477802012A4466082791C03E54973B702D33CE8184C24954E609C7","version":"1.2.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/quickeater-1.2.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Rooftop Agility","description":"Illumine automated rooftop agility plugin","id":"rooftopagility-plugin","releases":[{"date":"2020-07-12","sha512sum":"3E69502A8257DA94A3098237DC6876C052BE64BB6C4ED432464A2D9AB32BFFD0C9CB0C24AC78A7524A0C380B8CE56F04AA5DE2A12602C27394A35C20E3515A66","version":"2.0.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/rooftopagility-2.0.0.jar?raw=true","requires":"0.0.1"}]}]
[{"projectUrl":"","provider":"illumine","name":"BotUtils","description":"Illumine - Utils required for plugins to function with added automation","id":"botutils-plugin","releases":[{"date":"2020-07-12","sha512sum":"C13C06448C9C8CD1386D4BE0E6BD2511505CAFB86A5C8EEC114CB0E4F55AFB2D9EC4727B61B1C5F27F56CEA3AE2D7D06F7583A5DA99C1A0286094BCB78AFBAD3","version":"2.3.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-2.3.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Magic Splasher","description":"Illumine automated magic splasher","id":"magicsplasher-plugin","releases":[{"date":"2020-07-12","sha512sum":"150E428B16ACAA6337E0D2AD80DAC2FEF0556BBCF87944C8167EF0CDEA0E6E065FC9C3F7AD8BD0DA3726224560A7EB20E97922094E4A7AD81D58D550B7EF4DD9","version":"1.5.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/magicsplasher-1.5.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Power Skiller","description":"Illumine auto power skiller plugin","id":"powerskiller-plugin","releases":[{"date":"2020-07-12","sha512sum":"1E08DD7CCD7B838244FB58ACE267D5D78EEDB77645B978BD0B1177D3402C68AD940EB4D5EBDF6B3DFE0646D175A7C14D04146C018533FC9D3377E817771A7463","version":"2.4.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerskiller-2.4.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Quick Eater","description":"Illumine - auto eat food below configured HP","id":"quickeater-plugin","releases":[{"date":"2020-07-12","sha512sum":"72F2371BE96794AB3DF6F9C55F1486F08B29D16942FAB275EAEC9955361EB49FECDE79D72F6F6D087182DDB050C2EE99150493A70A6C21495DB60FCB571EC211","version":"1.3.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/quickeater-1.3.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"","provider":"illumine","name":"Rooftop Agility","description":"Illumine automated rooftop agility plugin","id":"rooftopagility-plugin","releases":[{"date":"2020-07-12","sha512sum":"C0AF3397249F5F4F39155CAA8C13D9811561AAB1BDF2FB55801C3FF8F2C29A26F4EA391C00134BA2B60F6C32048FE092B35519DE6E60D715EBF69C3A9593E2F7","version":"2.1.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/rooftopagility-2.1.0.jar?raw=true","requires":"0.0.1"}]}]

View File

@ -23,7 +23,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
version = "2.2.0"
version = "2.4.0"
project.extra["PluginName"] = "Power Skiller"
project.extra["PluginDescription"] = "Illumine auto power skiller plugin"

View File

@ -255,7 +255,7 @@ public class PowerSkillerPlugin extends Plugin
{
return ITERATING;
}
if (!requiredIds.isEmpty() && !utils.inventoryContainsAllOf(requiredIds))
if (!config.dropInventory() && !requiredIds.isEmpty() && !utils.inventoryContainsAllOf(requiredIds))
{
return MISSING_ITEMS;
}

View File

@ -23,7 +23,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
version = "1.2.0"
version = "1.3.0"
project.extra["PluginName"] = "Quick Eater"
project.extra["PluginDescription"] = "Illumine - auto eat food below configured HP"

View File

@ -23,7 +23,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
version = "2.0.0"
version = "2.1.0"
project.extra["PluginName"] = "Rooftop Agility"
project.extra["PluginDescription"] = "Illumine automated rooftop agility plugin"