Solved Swap both-handed items

Discussion in 'Plugin Development' started by kangkyuchang, Jan 6, 2020.

  1. Offline

    kangkyuchang

    I don't want to swap both-handed items. (shortcut keys f from Minecraft.)
    I want to disable the shortcut keys f from Minecraft.
    I use Minecraft 1.12 version.
     
    Last edited: Jan 6, 2020
  2. Offline

    DerDonut

    To prevent the player from switching the item in the main- and offhand, cancel PlayerSwapHandItemsEvent
     
  3. Offline

    kangkyuchang

    Thank you .
    I'll try it.
     

Share This Page