RESTfulMC/DemoSpigotPlugin/src/main/java/me/braydon/demo/DemoSpigotPlugin.java

15 lines
396 B
Java
Raw Normal View History

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