TropheusJ opened this issue 9 months ago ยท 2 comments
using FAPI 0.92.0 on 1.20.1 code:
try (Transaction t = Transaction.openOuter()) { long inserted = inv.insert(ItemVariant.of(item), item.getCount(), t); t.abort(); }
before insertion: contains empty stack after insert: contains record after aborting, this does not get reverted.
#3517 fixes this issue in 1.20.4.
Shouldn't be too hard to backport.