add comment to ContraptionVisual

This commit is contained in:
TropheusJ 2025-02-11 15:16:20 -05:00
parent 772d5c106e
commit cc4e272392

View file

@ -75,6 +75,7 @@ public class ContraptionVisual<E extends AbstractContraptionEntity> extends Abst
setEmbeddingMatrices(partialTick);
Contraption contraption = entity.getContraption();
// The contraption could be null if it wasn't synced (ex. too much data)
if (contraption == null)
return;