Remove unused variable
Dieser Commit ist enthalten in:
Ursprung
eebcdf3ea1
Commit
4043f67610
@ -11,8 +11,6 @@ import java.util.concurrent.TimeUnit;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
import com.comphenix.protocol.PacketType;
|
||||
import com.comphenix.protocol.PacketType.Protocol;
|
||||
import com.comphenix.protocol.PacketType.Sender;
|
||||
import com.comphenix.protocol.ProtocolLibrary;
|
||||
import com.comphenix.protocol.events.PacketAdapter;
|
||||
import com.comphenix.protocol.events.PacketEvent;
|
||||
@ -57,8 +55,6 @@ public class TestPingPacket {
|
||||
}
|
||||
|
||||
private Future<String> testInterception(Plugin test) {
|
||||
PacketType customPacket = PacketType.fromCurrent(Protocol.STATUS, Sender.CLIENT, 3, -1);
|
||||
|
||||
ProtocolLibrary.getProtocolManager().addPacketListener(
|
||||
new PacketAdapter(test, PacketType.Status.Server.OUT_SERVER_INFO) {
|
||||
@Override
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren