mirror of
https://github.com/YouHaveTrouble/Stand-in.git
synced 2026-05-12 06:26:56 +00:00
potentially fix plugins despawning the entity the moment it appears
This commit is contained in:
@@ -117,6 +117,7 @@ public abstract class EntityHandler<E extends Entity> {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user