Fix Order of operations in FabricEntityTypeBuilder (#2024)

This commit is contained in:
CyborgCabbage 2022-03-03 18:16:59 +00:00 committed by GitHub
parent cca23f938e
commit 34b2a0ce93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ public class FabricEntityTypeBuilder<T extends Entity> {
* @return this builder for chaining * @return this builder for chaining
*/ */
public FabricEntityTypeBuilder<T> trackRangeBlocks(int range) { public FabricEntityTypeBuilder<T> trackRangeBlocks(int range) {
return trackRangeChunks(range + 15 / 16); return trackRangeChunks((range + 15) / 16);
} }
public FabricEntityTypeBuilder<T> trackedUpdateRate(int rate) { public FabricEntityTypeBuilder<T> trackedUpdateRate(int rate) {