Fixed Spigot onEnable error

This commit is contained in:
JH3Y50N 2019-08-27 13:22:26 -03:00
parent 9621c860da
commit 5159378ee0
8 changed files with 12 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="lib" path="C:/Users/jheys/Downloads/AuthMe.jar"/>
<classpathentry kind="lib" path="C:/Users/jheys/Downloads/AuthMe-5.6.0-beta1.jar"/>
<classpathentry kind="lib" path="C:/Users/jheys/Documents/bungeecord/bungeecord.jar"/>
<classpathentry kind="lib" path="C:/Users/jheys/Documents/MC - Plugins/PaperSpigot-1.8.8.jar"/>
<classpathentry kind="output" path="bin"/>

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/bin/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -33,6 +33,10 @@ import net.md_5.bungee.event.EventPriority;
public class bungee extends Plugin implements Listener {
/*
Made by Jheyson Henrique
*/
@Override
public void onEnable() {
getProxy().getPluginManager().registerListener(this, this);

View File

@ -20,7 +20,11 @@ import org.bukkit.scheduler.BukkitRunnable;
import fr.xephi.authme.events.LoginEvent;
public class spigot extends JavaPlugin implements Listener, PluginMessageListener {
/*
Made by Jheyson Henrique
*/
@Override
public void onEnable() {
Bukkit.getPluginManager().registerEvents(this, this);
@ -67,7 +71,7 @@ public class spigot extends JavaPlugin implements Listener, PluginMessageListene
fr.xephi.authme.api.v3.AuthMeApi.getInstance().forceLogin(player);
logados.add(player.getName());
}
}.runTaskLater(this, 20L);
}.runTaskLater(this, 25L);
}
}
} catch (IOException e) {