dev build 9 for 1.7.9
* pretty stable, all known bugs fixed
This commit is contained in:
1 parent
a3f75f1237
commit
7bfadfa233
1 file changed
+5
-3
@@ -30,13 +30,15 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
public class MainExample extends JavaPlugin {
|
||||
@Override
|
||||
public void onLoad() {
|
||||
PacketEvents.create().getSettings().injectEarly(false);
|
||||
PacketEvents.get().load();
|
||||
//We use default settings
|
||||
PacketEvents.create().load();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
//We use default settings
|
||||
/**
|
||||
* We created the instance in the onLoad method
|
||||
*/
|
||||
PacketEvents.get().init(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user