T2CodeLib update to API Version 13.0 Bugfix: - Hardcode message inserted in language file
18 lines
598 B
Java
18 lines
598 B
Java
// This claas was created by JaTiTV
|
|
|
|
package net.t2code.alias.Spigot.system;
|
|
|
|
import net.t2code.alias.Spigot.Main;
|
|
import net.t2code.alias.Util;
|
|
import net.t2code.t2codelib.SPIGOT.api.update.T2CupdateAPI;
|
|
import org.bukkit.event.EventHandler;
|
|
import org.bukkit.event.Listener;
|
|
import org.bukkit.event.player.PlayerLoginEvent;
|
|
|
|
public class JoinEvent implements Listener {
|
|
|
|
@EventHandler
|
|
public void onJoinEvent(PlayerLoginEvent event) {
|
|
T2CupdateAPI.join(Main.getPlugin(),Util.getPrefix(), "t2code.alias.updatemsg", event.getPlayer(), Util.getSpigotID(), Util.getDiscord());
|
|
}
|
|
} |