Leo Wörteler
- leo_woerteler
- leo_woerteler
- Europe/Stockholm
- Yes
- No
The apple and cookie trades for farmer villagers are not randomized correctly, always yielding 5 and 6 items respectively instead of the random ranges [5..7] and [6..10].
The reason seems to be that the limits of the ranges are accidentally flipped around in the code, making the ranges empty because the lower limit is greater than the upper one:
minecraft_server.14w08a.jar/aai.class#529private static final aao[][][][] bz = { { { // farmer [...], { new aaj(aey.a(alo.ba), new aap(7, 12)), new aan(afb.e, new aap(-5, -7)) }, { new aan(afb.aX, new aap(-6, -10)), new aan(afb.aU, new aap(1, 1)) } }, [...] }, [...] };The ranges should probably be new aap(-7, -5) and new aap(-10, -6).
The apple and cookie trades for farmer villagers are not randomized correctly, always yielding 5 and 6 items respectively instead of the random ranges [5..7] and [6..10].
The reason seems to be that the limits of the ranges are accidentally flipped around in the code, making the ranges empty because the lower limit is greater than the upper one:
minecraft_server.14w08a.jar/aai.class#529private static final aao[][][][] bz= { { { // farmer [...], { new aaj(aey.a(alo.ba), new aap(7, 12)), new aan(afb.e, new aap(-5, -7)) }, { new aan(afb.aX, new aap(-6, -10)), new aan(afb.aU, new aap(1, 1)) } }, [...] }, [...] };The ranges should probably be new a
ap(-7, -5) and new aap(-10, -6).The apple and cookie trades for farmer villagers are not randomized correctly, always yielding 5 and 6 items respectively instead of the random ranges [5..7] and [6..10].
The reason seems to be that the limits of the ranges are accidentally flipped around in the code, making the ranges empty because the lower limit is greater than the upper one:
minecraft_server.1.8.jar/agp.class#557private static final agw[][][][] bA = { { { // farmer [...], { new agr(alq.a(aty.bk), new agx(7, 12)), new agv(amk.e, new agx(-5, -7)) }, { new agv(amk.bc, new agx(-6, -10)), new agv(amk.aZ, new agx(1, 1)) } }, [...] }, [...] };The ranges should probably be new agx(-7, -5) and new agx(-10, -6).