Ensure that the dummy objects are all package private.
Dieser Commit ist enthalten in:
Ursprung
cf52d6ddb4
Commit
28b213a419
@ -9,7 +9,12 @@ import com.comphenix.protocol.events.PacketContainer;
|
|||||||
import com.comphenix.protocol.events.PacketEvent;
|
import com.comphenix.protocol.events.PacketEvent;
|
||||||
import com.comphenix.protocol.injector.packet.PacketInjector;
|
import com.comphenix.protocol.injector.packet.PacketInjector;
|
||||||
|
|
||||||
public class DummyPacketInjector implements PacketInjector {
|
/**
|
||||||
|
* Dummy packet injector that simply delegates to its parent Spigot packet injector or receiving filters.
|
||||||
|
*
|
||||||
|
* @author Kristian
|
||||||
|
*/
|
||||||
|
class DummyPacketInjector implements PacketInjector {
|
||||||
private SpigotPacketInjector injector;
|
private SpigotPacketInjector injector;
|
||||||
private IntegerSet reveivedFilters;
|
private IntegerSet reveivedFilters;
|
||||||
|
|
||||||
|
@ -15,6 +15,11 @@ import com.comphenix.protocol.injector.GamePhase;
|
|||||||
import com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks;
|
import com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks;
|
||||||
import com.comphenix.protocol.injector.player.PlayerInjectionHandler;
|
import com.comphenix.protocol.injector.player.PlayerInjectionHandler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dummy player handler that simply delegates to its parent Spigot packet injector.
|
||||||
|
*
|
||||||
|
* @author Kristian
|
||||||
|
*/
|
||||||
class DummyPlayerHandler implements PlayerInjectionHandler {
|
class DummyPlayerHandler implements PlayerInjectionHandler {
|
||||||
private SpigotPacketInjector injector;
|
private SpigotPacketInjector injector;
|
||||||
private IntegerSet sendingFilters;
|
private IntegerSet sendingFilters;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren