Added KRegistrable

This commit is contained in:
Auxilor
2023-04-20 16:41:35 +01:00
parent a17b951a8b
commit 6f7de8716b

View File

@@ -0,0 +1,13 @@
package com.willfp.eco.core.registry
/**
* A registrable that has a string ID, for use with Kotlin.
*/
interface KRegistrable : Registrable {
/**
* The ID of the registrable.
*/
val id: String
override fun getID() = id
}