Scumbags Forge and Spout.
This commit is contained in:
parent
fbacafb752
commit
a2ebb92d56
@ -39,4 +39,10 @@ public class Packet1Login extends DefinedPacket
|
||||
this.unused = readByte();
|
||||
this.maxPlayers = readByte();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(PacketHandler handler) throws Exception
|
||||
{
|
||||
handler.handle(this);
|
||||
}
|
||||
}
|
||||
|
@ -26,4 +26,10 @@ public class PacketFAPluginMessage extends DefinedPacket
|
||||
this.tag = readUTF();
|
||||
this.data = readArray();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(PacketHandler handler) throws Exception
|
||||
{
|
||||
handler.handle(this);
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,10 @@ public abstract class PacketHandler
|
||||
throw new UnsupportedOperationException("No handler defined for packet " + packet.getClass());
|
||||
}
|
||||
|
||||
public void handle(Packet1Login login) throws Exception
|
||||
{
|
||||
}
|
||||
|
||||
public void handle(Packet2Handshake handshake) throws Exception
|
||||
{
|
||||
}
|
||||
@ -16,6 +20,10 @@ public abstract class PacketHandler
|
||||
{
|
||||
}
|
||||
|
||||
public void handle(PacketFAPluginMessage pluginMessage) throws Exception
|
||||
{
|
||||
}
|
||||
|
||||
public void handle(PacketFCEncryptionResponse encryptResponse) throws Exception
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user