mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-27 19:09:09 +00:00
fix loaded seconds
This commit is contained in:
@@ -139,6 +139,7 @@ public class CustomCropsChunkImpl implements CustomCropsChunk {
|
||||
public void timer() {
|
||||
WorldSetting setting = world.setting();
|
||||
int interval = setting.minTickUnit();
|
||||
if (this.loadedSeconds < 0) this.loadedSeconds = 0;
|
||||
this.loadedSeconds++;
|
||||
// if loadedSeconds reach another recycle, rearrange the tasks
|
||||
if (this.loadedSeconds >= interval) {
|
||||
|
||||
Reference in New Issue
Block a user