mirror of
https://github.com/JH3Y50N/JH_AuthMeBridge.git
synced 2024-11-27 12:15:15 +01:00
Fixed Spigot onEnable error
This commit is contained in:
parent
9621c860da
commit
5159378ee0
@ -2,7 +2,7 @@
|
|||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" path="src"/>
|
<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="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/bungeecord/bungeecord.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/jheys/Documents/MC - Plugins/PaperSpigot-1.8.8.jar"/>
|
<classpathentry kind="lib" path="C:/Users/jheys/Documents/MC - Plugins/PaperSpigot-1.8.8.jar"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/bin/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -33,6 +33,10 @@ import net.md_5.bungee.event.EventPriority;
|
|||||||
|
|
||||||
public class bungee extends Plugin implements Listener {
|
public class bungee extends Plugin implements Listener {
|
||||||
|
|
||||||
|
/*
|
||||||
|
Made by Jheyson Henrique
|
||||||
|
*/
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
getProxy().getPluginManager().registerListener(this, this);
|
getProxy().getPluginManager().registerListener(this, this);
|
||||||
|
@ -21,6 +21,10 @@ import fr.xephi.authme.events.LoginEvent;
|
|||||||
|
|
||||||
public class spigot extends JavaPlugin implements Listener, PluginMessageListener {
|
public class spigot extends JavaPlugin implements Listener, PluginMessageListener {
|
||||||
|
|
||||||
|
/*
|
||||||
|
Made by Jheyson Henrique
|
||||||
|
*/
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
Bukkit.getPluginManager().registerEvents(this, this);
|
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);
|
fr.xephi.authme.api.v3.AuthMeApi.getInstance().forceLogin(player);
|
||||||
logados.add(player.getName());
|
logados.add(player.getName());
|
||||||
}
|
}
|
||||||
}.runTaskLater(this, 20L);
|
}.runTaskLater(this, 25L);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user