mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-26 17:46:25 -05:00
Fix Order of operations in FabricEntityTypeBuilder (#2024)
This commit is contained in:
parent
cca23f938e
commit
34b2a0ce93
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue