parent
5076a9f6e2
commit
205c45e25d
@ -239,7 +239,6 @@ object MRegistry {
|
||||
}
|
||||
|
||||
private fun initializeClient(event: FMLClientSetupEvent) {
|
||||
event.enqueueWork {
|
||||
ItemProperties.register(MItems.TRITANIUM_SHIELD, ResourceLocation(OverdriveThatMatters.MOD_ID, "blocking")) { stack, level, entity, _ ->
|
||||
if (entity?.isUsingItem == true && entity.useItem == stack) {
|
||||
1f
|
||||
@ -260,5 +259,4 @@ object MRegistry {
|
||||
if (MItems.EXPLOSIVE_HAMMER.isPrimed(stack)) 1f else 0f
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user