geforkt von Mirrors/FastAsyncWorldEdit
Removed ChunkListener8 and resolved compiling issues
Dieser Commit ist enthalten in:
Ursprung
e56e9e39ee
Commit
4d4709b2f6
@ -9,7 +9,6 @@ import com.boydti.fawe.bukkit.adapter.BukkitQueueHandler;
|
||||
import com.boydti.fawe.bukkit.listener.BrushListener;
|
||||
import com.boydti.fawe.bukkit.listener.BukkitImageListener;
|
||||
import com.boydti.fawe.bukkit.listener.CFIPacketListener;
|
||||
import com.boydti.fawe.bukkit.listener.ChunkListener_8;
|
||||
import com.boydti.fawe.bukkit.listener.ChunkListener_9;
|
||||
import com.boydti.fawe.bukkit.listener.RenderListener;
|
||||
import com.boydti.fawe.bukkit.regions.FreeBuildRegion;
|
||||
@ -94,12 +93,7 @@ public class FaweBukkit implements IFawe, Listener {
|
||||
Bukkit.getPluginManager().registerEvents(FaweBukkit.this, FaweBukkit.this.plugin);
|
||||
|
||||
// The tick limiter
|
||||
try {
|
||||
Class.forName("sun.misc.SharedSecrets");
|
||||
new ChunkListener_8();
|
||||
} catch (ClassNotFoundException e) {
|
||||
new ChunkListener_9();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
package com.boydti.fawe.bukkit.listener;
|
||||
|
||||
import sun.misc.SharedSecrets;
|
||||
|
||||
public class ChunkListener_8 extends ChunkListener {
|
||||
|
||||
@Override
|
||||
protected int getDepth(Exception ex) {
|
||||
return SharedSecrets.getJavaLangAccess().getStackTraceDepth(ex);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected StackTraceElement getElement(Exception ex, int index) {
|
||||
return SharedSecrets.getJavaLangAccess().getStackTraceElement(ex, index);
|
||||
}
|
||||
}
|
@ -29,6 +29,7 @@ import org.bukkit.Difficulty;
|
||||
import org.bukkit.Effect;
|
||||
import org.bukkit.FluidCollisionMode;
|
||||
import org.bukkit.GameRule;
|
||||
import org.bukkit.HeightMap;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Particle;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren