From 0d147653f32caf064518ccd06a787d9f00000a37 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 10 Aug 2023 17:13:08 +1000 Subject: [PATCH] Fix spawn tracker mapping data check --- .../viaversion/viabackwards/api/rewriters/EntityRewriter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/EntityRewriter.java b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/EntityRewriter.java index ac7d96de..272e8964 100644 --- a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/EntityRewriter.java +++ b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/EntityRewriter.java @@ -90,6 +90,10 @@ public abstract class EntityRewriter { + if (protocol.getMappingData() == null) { + return; + } + // Check against the UNMAPPED entity type EntityType entityType = trackAndMapEntity(wrapper); if (entityType == fallingBlockType) {