-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Minecraft Version
1.20.1
Mod Version
0.9.0
Describe the bug!
I modified wanderer trades using the following code, but the supplementaries injected trades still comes up in morejs 0.9.0.
MoreJSEvents.wandererTrades(event => {
event.removeVanillaTrades(1);
event.removeVanillaTrades(2);
event.removeModdedTrades(1);
event.removeModdedTrades(2);
event.addTrade(1, ['3x kubejs:ruby'], '6x minecraft:emerald').maxUses(3);
event.addTrade(1, ['3x kubejs:amethyst'], '6x kubejs:ruby').maxUses(3);
event.addTrade(2, ['6x minecraft:emerald'], '2x kubejs:ruby').maxUses(3);
event.addTrade(2, ['6x kubejs:ruby'], '2x kubejs:amethyst').maxUses(3);
});
Crash Report
No response
Log
No response
Additions and Modifications
No
Additions and Modifications Description
No response
Did the issue happen in singleplayer or on a server?
Singleplayer