package com.namelessmc.namelessplugin;

import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

public class PlayerEventListener implements Listener {
	/*
	 *  Update site username and group on player join
	 */
	@EventHandler
	public void onPlayerJoin(PlayerJoinEvent e){
		Player player = e.getPlayer();
		
		NamelessPlugin.pluginInstance.loginCheck(player);
	}
}

@@ -187,16 +187,17 @@
 Event;%0A%0A
+%0A
 public c
@@ -243,16 +243,166 @@
 tener %7B%0A
+%09NamelessPlugin plugin;%0A%09%0A%09/*%0A%09 *  Constructer%0A%09 */%0A%09public PlayerEventListener(NamelessPlugin pluginInstance) %7B%0A%09%09this.plugin = pluginInstance;%0A%09%7D%0A%09%0A
 %09/*%0A%09 * 
@@ -556,37 +556,14 @@
 %09%0A%09%09
-NamelessPlugin.pluginInstance
+plugin
 .log

Update PlayerEventListener.java