Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/github/main' into 1.21
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle.properties
  • Loading branch information
zhenlige committed Nov 28, 2024
2 parents 19b68e1 + acfb447 commit d64f419
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static void blockConfig(BlockTuningPayload payload, ClientPlayNetworking
var entryRef = new EntryManager.SingleTuningRef(payload.tuningRef());
cat.addEntry(entryRef.createEntry(entryBuilder));
builder.setSavingRunnable(() -> {
Fraction f = Fraction.getFraction(entryP.getValue(), entryQ.getValue());
Fraction f = Fraction.getReducedFraction(entryP.getValue(), entryQ.getValue());
int p = pOf(f), q = qOf(f);
ClientPlayNetworking.send(new BlockTuningPayload(payload.pos(), p, q, entryRef.getTuningRef()));
});
Expand Down

0 comments on commit d64f419

Please sign in to comment.