otm_player -> player
This commit is contained in:
parent
d5186edb23
commit
f54322a94b
@ -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<Entity>) {
|
||||
val ent = event.`object`
|
||||
|
Loading…
Reference in New Issue
Block a user