Skip to content

remove forbidden getModItem calls #11

remove forbidden getModItem calls

remove forbidden getModItem calls #11

name: Forbidden isModLoaded
on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]
jobs:
test-forbidden-getmoditems:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect forbidden isModLoaded calls
shell: bash
run: |
! grep -E -r 'getModItem\((BartWorks|GalactiGreg|GGFab|GoodGenerator|GTNHLanthanides|GregTech|GTPlusPlus|KekzTech|KubaTech|TecTech|NEIOrePlugin|NewHorizonsCoreMod)\.isModLoaded' src/main/java