Skip to content

Commit

Permalink
Make toEntity open
Browse files Browse the repository at this point in the history
  • Loading branch information
EsotericEnderman committed Nov 2, 2024
1 parent 5c24984 commit 8442183
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ abstract class CustomEntity<E : Entity> protected constructor(protected val plug
return entity
}

fun toEntity(vararg entities: E): Array<out E> {
open fun toEntity(vararg entities: E): Array<out E> {
for (entity in entities) {
entity.persistentDataContainer.set(
plugin.customEntityManager.customEntityIdKey,
Expand Down

0 comments on commit 8442183

Please sign in to comment.