From 8442183c7ff1988330e282df74270f8d52071728 Mon Sep 17 00:00:00 2001 From: Esoteric Enderman Date: Sat, 2 Nov 2024 14:09:23 +0000 Subject: [PATCH] Make `toEntity` open --- .../esoteric/minecraft/plugins/library/entity/CustomEntity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/entity/CustomEntity.kt b/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/entity/CustomEntity.kt index 51aefc0..fb13c77 100644 --- a/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/entity/CustomEntity.kt +++ b/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/entity/CustomEntity.kt @@ -21,7 +21,7 @@ abstract class CustomEntity protected constructor(protected val plug return entity } - fun toEntity(vararg entities: E): Array { + open fun toEntity(vararg entities: E): Array { for (entity in entities) { entity.persistentDataContainer.set( plugin.customEntityManager.customEntityIdKey,