parent
5be72dd5d7
commit
0a127dfb40
@ -101,6 +101,7 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
public FaweBukkit(BukkitMain plugin) {
|
public FaweBukkit(BukkitMain plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
try {
|
try {
|
||||||
|
Settings.IMP.TICK_LIMITER.ENABLED = !Bukkit.hasWhitelist();
|
||||||
Fawe.set(this);
|
Fawe.set(this);
|
||||||
setupInjector();
|
setupInjector();
|
||||||
try {
|
try {
|
||||||
@ -151,8 +152,7 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
try {
|
try {
|
||||||
Class.forName("sun.misc.SharedSecrets");
|
Class.forName("sun.misc.SharedSecrets");
|
||||||
new ChunkListener_8();
|
new ChunkListener_8();
|
||||||
} catch( ClassNotFoundException e )
|
} catch (ClassNotFoundException e) {
|
||||||
{
|
|
||||||
new ChunkListener_9();
|
new ChunkListener_9();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user