1.15.2 InventoryClickEvent#getAction always PLACE_ALL

Discussion in 'Spigot Plugin Development' started by Tarluin, Jan 12, 2020.

  1. Code (Text):
        void onInventoryClick(InventoryClickEvent event) {
            event.getWhoClicked().sendMessage(event.getAction().name());
            }
    When in creative mode this always tells the user PLACE_ALL not even the CLONE_STACK action will show up.