diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt index 1e885e286..8d1dcfef7 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt @@ -943,8 +943,7 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial event.entity.getCapability(MatteryCapability.MATTERY_PLAYER).ifPresentK { it.onHurt(event) } } - const val CAPABILITY_KEY = "otm_player" - val CAPABILITY_LOCATION = ResourceLocation(OverdriveThatMatters.MOD_ID, CAPABILITY_KEY) + val CAPABILITY_LOCATION = ResourceLocation(OverdriveThatMatters.MOD_ID, "player") fun onAttachCapabilityEvent(event: AttachCapabilitiesEvent) { val ent = event.`object`