Merge pull request #1294 from psikoi/runecraftfix

Add a null check to Runecrafting Plugin.
This commit is contained in:
Adam
2018-04-06 23:10:46 -04:00
committed by GitHub

View File

@@ -192,7 +192,7 @@ public class RunecraftPlugin extends Plugin
);
Item[] items = queryRunner.runQuery(inventoryQuery);
degradedPouchInInventory = items.length > 0;
degradedPouchInInventory = items != null && items.length > 0;
if (degradedPouchInInventory)
{