Skip to content

Commit 5cf05fc

Browse files
committed
rename one element of salepoint API
1 parent b2a5936 commit 5cf05fc

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/dev/ithundxr/createnumismatics/compat/computercraft/implementation/peripherals

1 file changed

+1
-1
lines changed

common/src/main/java/dev/ithundxr/createnumismatics/compat/computercraft/implementation/peripherals/SalepointPeripheral.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public final Map<String, Object> getTransaction() throws LuaException {
8787
throw new LuaException("No transaction is currently active");
8888
return Map.of(
8989
"object", blockEntity.getSalepointState().writeForComputerCraft(),
90-
"totalPrice", transaction.totalPrice(),
90+
"unitPrice", transaction.totalPrice(),
9191
"targetCount", transaction.multiplier(),
9292
"currentCount", transaction.progress()
9393
);

0 commit comments

Comments
 (0)