Compare commits
No commits in common. "1a499fe7cce73b323f17ca01859ec2c8b5643224" and "3f697c3e23a13f25c27d33a941f85e0592db1d61" have entirely different histories.
1a499fe7cc
...
3f697c3e23
2 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,6 @@ public class Nicko extends JavaPlugin {
|
|||
@Override
|
||||
public void onLoad() {
|
||||
PacketEvents.setAPI(SpigotPacketEventsBuilder.build(this));
|
||||
PacketEvents.getAPI().getSettings().checkForUpdates(false).kickOnPacketException(true);
|
||||
PacketEvents.getAPI().load();
|
||||
}
|
||||
|
||||
|
@ -52,6 +51,7 @@ public class Nicko extends JavaPlugin {
|
|||
plugin = this;
|
||||
|
||||
PacketEvents.getAPI().init();
|
||||
PacketEvents.getAPI().getSettings().checkForUpdates(false).kickOnPacketException(true);
|
||||
|
||||
configurationManager = new ConfigurationManager(getDataFolder());
|
||||
configurationManager.saveDefaultConfig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue