Fellies/kubejs[e6]/server_scripts/enigmatica/kubejs/normal/recipes/remove.js

18 lines
416 B
JavaScript
Raw Normal View History

2021-01-28 22:28:10 +00:00
events.listen('recipes', function (event) {
if (global.packmode !== 'normal') {
return;
}
var outputRemovals = ['torchmaster:feral_flare_lantern', 'torchmaster:megatorch'];
var idRemovals = [];
outputRemovals.forEach(function (removal) {
event.remove({ output: removal });
});
idRemovals.forEach(function (removal) {
event.remove({ id: removal });
});
});