mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
18 lines
416 B
JavaScript
18 lines
416 B
JavaScript
|
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 });
|
||
|
});
|
||
|
});
|