Skip to content

Commit

Permalink
remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Jan 13, 2024
1 parent f839ca9 commit a87563a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ protected boolean continueProcessing() {
if (processingTicks > 5) {
try(Transaction t = TransferUtil.getTransaction()) {
internalTank.allowInsertion();
if (internalTank.getPrimaryHandler().simulateInsert(xp.getType(),xp.getAmount(),t) != xp.getAmount()) {
if (internalTank.getPrimaryHandler().insert(xp.getType(), xp.getAmount(), t) != xp.getAmount()) {
internalTank.forbidInsertion();
processingTicks = DISENCHANTER_TIME;
return true;
Expand Down

0 comments on commit a87563a

Please sign in to comment.