Stone Cutter Not Triggering Crafting Job

Discussion in 'Help & Support / Errors & Bugs' started by OConner1279, Mar 1, 2026.

  1. OConner1279

    OConner1279 President
    President ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️ Prestige ⭐ I ⭐

    Joined:
    Apr 10, 2020
    Messages:
    572
    Trophy Points:
    30,660
    Ratings:
    +653
    When you craft crafting job materials using a stone cutter, it does not trigger the job rewards, despite you getting the materials.

    If you look at the jobs plugin code, the plug-in clearly intends that you get paid for some stonecutter actions:

    if ((Version.isCurrentEqualOrHigher(Version.v1_14_R1) && inv instanceof StonecutterInventory)
    || (Version.isCurrentEqualOrHigher(Version.v1_16_R1) && inv instanceof SmithingInventory)) {
    if (event.getAction() != InventoryAction.DROP_ONE_SLOT) {
    Jobs.action(jPlayer, new ItemActionInfo(resultStack, ActionType.CRAFT));
    }

    return;
    }

    However, some lines up, it looks like there's some code that (accidentally?) excludes stonecutters from being evaluated:

    if (((Version.isCurrentEqualOrHigher(Version.v1_14_R1) && !(inv instanceof StonecutterInventory))
    || (Version.isCurrentEqualOrHigher(Version.v1_16_R1) && !(inv instanceof SmithingInventory))) && slot == 1)
    return;

    It looks like this code is meant to check if the plug-in is checking "slot 1" (which is only valid for stonecutters and smithing). If the event is checking "slot 1" and is neither of those two things, it's supposed to exit. However, the OR boolean operator (which I have bolded and underlined above) makes it so that if it's either a stonecutter or a smithing table, it exits early.

    This seems like it can't possibly be intentional because the plugin explicitly includes code to pay out for smithing and stonecutter operations. I think that the "II" should be corrected to an "&&".

    Of course, if ECC for some reason has changed the code itself to make it so that the plug-in works this way, please disregard.
     
  2. Jdawger

    Jdawger Goes by Brass Scribe everwhere except MC & ECC
    ECC Sponsor EcoLeader ⛰️⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ VII ⭐ Gameplay Architect Premium Upgrade

    Joined:
    Dec 15, 2013
    Messages:
    4,782
    Trophy Points:
    92,160
    Gender:
    Male
    Ratings:
    +3,521
    If I recall correctly, anything that says “craft” has to be done in a crafting table. Stone cutters do not work & this was intentionally done this way
     
    • Informative Informative x 1
    • List
    #2 Jdawger, Mar 3, 2026
    Last edited: Mar 3, 2026
  3. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,882
    Trophy Points:
    121,160
    Ratings:
    +15,234
    Now looking into this.
     
  4. ClarinetPhoenix

    ClarinetPhoenix She does what she wants.
    Owner Events Manager ECC Sponsor Mayor ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ IX ⭐ Gameplay Architect Premium Upgrade Wiki Leader

    Joined:
    Jun 23, 2014
    Messages:
    8,329
    Trophy Points:
    106,160
    Gender:
    Female
    Ratings:
    +5,698
    This will be fixed after the next maintenance.
     
  5. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,882
    Trophy Points:
    121,160
    Ratings:
    +15,234
    This should now be fixed.