fixed boat stuttering

This commit is contained in:
2025-12-18 20:02:26 +01:00
parent 31385fbd7f
commit 334e130cf6

View File

@@ -25,6 +25,7 @@ public class BoatRace extends StatelessGame {
protected boolean onPlayerJoin(Player p) {
Entity boat = new Entity(EntityType.OAK_BOAT);
boat.setInstance(this, this.getSpawn());
boat.setSynchronizationTicks(100000);
MinecraftServer.getSchedulerManager().scheduleNextTick(() -> boat.addPassenger(p));
return super.onPlayerJoin(p);
}