[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / actions / UseItemActionsModule.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/UseItemActionsModule.kt b/core/src/ru/deadsoftware/cavedroid/game/actions/UseItemActionsModule.kt
index a54e4a77e31403e9e2f7c1583221af2a8ddf42f3..d5e4f4fa80c5cda9a10328c9834a9d4dc7ba089a 100644 (file)
@Binds
@IntoMap
@Binds
@IntoMap
- @StringKey(PlaceBlockItemToForegroundAction.ACTION_KEY)
+ @StringKey(UseEmptyBucketAction.ACTION_KEY)
@GameScope
@GameScope
- fun bindPlaceBlockItemToForegroundAction(action: PlaceBlockItemToForegroundAction): IUseItemAction {
+ fun bindUseEmptyBucketAction(action: UseEmptyBucketAction): IUseItemAction {
return action
}
@Binds
@IntoMap
return action
}
@Binds
@IntoMap
- @StringKey(PlaceBlockItemToBackgroundAction.ACTION_KEY)
+ @StringKey(UsePigSpawnEggAction.ACTION_KEY)
@GameScope
@GameScope
- fun bindPlaceBlockItemToBackgroundAction(action: PlaceBlockItemToBackgroundAction): IUseItemAction {
+ fun bindUsePigSpawnEgg(action: UsePigSpawnEggAction): IUseItemAction {
return action
}
return action
}
+ @Binds
+ @IntoMap
+ @StringKey(UseBedAction.ACTION_KEY)
+ @GameScope
+ fun bindUseBedAction(action: UseBedAction): IUseItemAction {
+ return action
+ }
}
}