Recipe conflict fixes
This commit is contained in:
parent
3173b78933
commit
781e9beee0
19 changed files with 706 additions and 9 deletions
10
kubejs/server_scripts/Nuking.js
Normal file
10
kubejs/server_scripts/Nuking.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// priority: 0
|
||||
// We want this script to run VERY LAST so we guarantee all replace[Input|Output] scripts have worked.
|
||||
|
||||
ServerEvents.recipes(event => {
|
||||
const toRemove = JsonIO.read('kubejs/globals/nuked.json').items;
|
||||
toRemove.forEach(x => {
|
||||
event.remove({ input: x });
|
||||
event.remove({ output: x });
|
||||
});
|
||||
});
|
||||
Loading…
Reference in a new issue