修复二段跳触发问题

This commit is contained in:
Light_Quanta 2025-04-11 18:07:39 +08:00
parent 4e2119d4b7
commit a13b11e645
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -1,5 +1,6 @@
package com.atsuishio.superbwarfare.block;
import com.atsuishio.superbwarfare.Mod;
import com.atsuishio.superbwarfare.entity.TargetEntity;
import com.atsuishio.superbwarfare.entity.vehicle.base.CannonEntity;
import com.atsuishio.superbwarfare.event.ClientEventHandler;
@ -126,7 +127,7 @@ public class JumpPadBlock extends Block {
}
if (entity instanceof Player player && player.level().isClientSide) {
ClientEventHandler.canDoubleJump = true;
Mod.queueClientWork(2, () -> ClientEventHandler.canDoubleJump = true);
}
}
}