Update CarryOnFabricMod.java

This commit is contained in:
Hanro50 2025-10-15 21:52:23 +02:00
parent ef8362e728
commit 5cf2e87fe8

View File

@ -43,7 +43,7 @@ public class CarryOnFabricMod implements ModInitializer {
// player.tickCount > 0 avoids us syncing attachment data about players the instant they spawn. // player.tickCount > 0 avoids us syncing attachment data about players the instant they spawn.
// Which also causes a disconnect as the player entity may not be synced yet. // Which also causes a disconnect as the player entity may not be synced yet.
return p.connection != null && player.isAlive() && player.tickCount >0; return p.connection != null && player.isAlive() && player.tickCount > 0;
}) })