BlockPlaceEvent dont work

Discussion in 'Plugin Development' started by drafix, Jul 6, 2019.

  1. Offline


    public class Main extends JavaPlugin implements Listener {

    public void onEnable() {
    Bukkit.getServer().getPluginManager().registerEvents(this, this);

    public void onBlockPlace(BlockPlaceEvent e) {

    Why don't work? :(
  2. Offline

    timtower Ninja on the waves Moderator

    @drafix You are missing the @EventHandler

Share This Page