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