1.14.4 Can you do switch statements in PlayerInteractEvemt?

Discussion in 'Spigot Plugin Development' started by Sean0402, Jan 26, 2020.

  1. Hey all,

    I was wondering if in the player interact event you can do switch statement to get if they right / left click?
     
  2. yes? you can use a switch statement anywhere youd like

    switch statement kinda pointless with so few possibilities though