
Br.API.EventListener Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Br.API;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
/**
*
* @author Bryan_lzh
*/
public class EventListener implements Listener {
public static boolean Reg = true;
@EventHandler
public void onJoin(PlayerJoinEvent evt) {
if (Reg) {
Reg = false;
Main.RegisterMetrics();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy