Archiviert
13
0

Ensure that the dummy objects are all package private.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-02-05 23:28:11 +01:00
Ursprung cf52d6ddb4
Commit 28b213a419
2 geänderte Dateien mit 11 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -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;

Datei anzeigen

@ -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;