diff --git a/src/main/java/me/youhavetrouble/standin/entity/EntityHandler.java b/src/main/java/me/youhavetrouble/standin/entity/EntityHandler.java index f77963a..9963365 100644 --- a/src/main/java/me/youhavetrouble/standin/entity/EntityHandler.java +++ b/src/main/java/me/youhavetrouble/standin/entity/EntityHandler.java @@ -117,6 +117,7 @@ public abstract class EntityHandler { if (foundConverter == null) return; Entity converted = foundConverter.spawn(existing); if (converted == null) return; + if (!converted.isInWorld()) return; existing.remove(); }, ClickCallback.Options.builder().lifetime(Duration.ofHours(1)).uses(1).build()) ).build();