Put UnsupportedListener at the package level.
Dieser Commit ist enthalten in:
Ursprung
cbf4def71b
Commit
f9c0f212c1
@ -22,7 +22,6 @@ import java.util.Set;
|
|||||||
import java.util.concurrent.ArrayBlockingQueue;
|
import java.util.concurrent.ArrayBlockingQueue;
|
||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
import java.util.concurrent.atomic.AtomicInteger;
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
import java.util.logging.Level;
|
|
||||||
|
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
|
||||||
@ -114,10 +113,6 @@ public class AsyncListenerHandler {
|
|||||||
return nullPacketListener;
|
return nullPacketListener;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getPluginName() {
|
|
||||||
return PacketAdapter.getPluginName(listener);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve the plugin associated with this async listener.
|
* Retrieve the plugin associated with this async listener.
|
||||||
* @return The plugin.
|
* @return The plugin.
|
||||||
|
@ -22,7 +22,6 @@ import java.lang.reflect.Method;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import com.comphenix.protocol.Packets;
|
|
||||||
import com.comphenix.protocol.injector.ListenerInvoker;
|
import com.comphenix.protocol.injector.ListenerInvoker;
|
||||||
import com.comphenix.protocol.injector.player.NetworkFieldInjector.FakePacket;
|
import com.comphenix.protocol.injector.player.NetworkFieldInjector.FakePacket;
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import com.google.common.base.Joiner;
|
|||||||
*
|
*
|
||||||
* @author Kristian
|
* @author Kristian
|
||||||
*/
|
*/
|
||||||
public class UnsupportedListener {
|
class UnsupportedListener {
|
||||||
private String message;
|
private String message;
|
||||||
private int[] packets;
|
private int[] packets;
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren