mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-28 05:35:28 +01:00
Ensure that the dummy objects are all package private.
This commit is contained in:
parent
cf52d6ddb4
commit
28b213a419
@ -9,7 +9,12 @@ import com.comphenix.protocol.events.PacketContainer;
|
||||
import com.comphenix.protocol.events.PacketEvent;
|
||||
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 IntegerSet reveivedFilters;
|
||||
|
||||
|
@ -15,6 +15,11 @@ import com.comphenix.protocol.injector.GamePhase;
|
||||
import com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks;
|
||||
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 {
|
||||
private SpigotPacketInjector injector;
|
||||
private IntegerSet sendingFilters;
|
||||
|
Loading…
Reference in New Issue
Block a user