RESTfulMC/DemoSpigotPlugin/src/main/java/cc/restfulmc/demo/DemoSpigotPlugin.java

15 lines
400 B
Java
Raw Normal View History

2024-04-22 22:34:43 -07:00
package cc.restfulmc.demo;
2024-04-22 21:58:35 -07:00
2024-04-22 22:34:43 -07:00
import cc.restfulmc.demo.listener.ServerPingListener;
2024-04-22 21:58:35 -07:00
import com.comphenix.protocol.ProtocolLibrary;
import org.bukkit.plugin.java.JavaPlugin;
/**
* @author Braydon
*/
public final class DemoSpigotPlugin extends JavaPlugin {
@Override
public void onEnable() {
ProtocolLibrary.getProtocolManager().addPacketListener(new ServerPingListener(this));
}
}