Skip to content

Remove IGuiHandler implementation from proxy (#1596) #2644

Remove IGuiHandler implementation from proxy (#1596)

Remove IGuiHandler implementation from proxy (#1596) #2644

name: Forbidden getModItems
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 getModItem calls
shell: bash
run: |
! grep -E -r 'getModItem\(.*(BartWorks|GalactiGreg|GGFab|GoodGenerator|GregTech|GTNHIntergalactic|GTNHLanthanides|GTPlusPlus|KekzTech|KubaTech|TecTech|NEIOrePlugin|NewHorizonsCoreMod)\.ID' src/main/java || exit 1
! grep -E -r 'getModItem\(".*", .*)' src/main/java || exit 1