Skip to content
Permalink
Browse files

Remove all packet sending debug messages. This is just too much for t…

…he console and creates unnecessary latency issues.
  • Loading branch information...
Ri5ux Ri5ux
Ri5ux authored and Ri5ux committed Jul 15, 2019
1 parent d045352 commit 530bd8b4196fe6aa78910d977c14a12b2480f4be
Showing with 0 additions and 21 deletions.
  1. +0 −1 src/main/java/org/avp/packets/client/OrganismClientSync.java
  2. +0 −1 src/main/java/org/avp/packets/client/PacketAmmoUpdate.java
  3. +0 −1 src/main/java/org/avp/packets/client/PacketOpenable.java
  4. +0 −1 src/main/java/org/avp/packets/client/PacketOvamorphContainsFacehugger.java
  5. +0 −1 src/main/java/org/avp/packets/client/PacketPlayerModeUpdate.java
  6. +0 −1 src/main/java/org/avp/packets/client/PacketRotateRotatable.java
  7. +0 −1 src/main/java/org/avp/packets/client/PacketSyncRF.java
  8. +0 −1 src/main/java/org/avp/packets/client/PacketTurretSync.java
  9. +0 −1 src/main/java/org/avp/packets/client/SpecialPlayerClientSync.java
  10. +0 −1 src/main/java/org/avp/packets/server/PacketAddTurretPlayerTarget.java
  11. +0 −1 src/main/java/org/avp/packets/server/PacketAssemble.java
  12. +0 −1 src/main/java/org/avp/packets/server/PacketFireAPC.java
  13. +0 −1 src/main/java/org/avp/packets/server/PacketLaunchGrenade.java
  14. +0 −1 src/main/java/org/avp/packets/server/PacketOpenContainer.java
  15. +0 −1 src/main/java/org/avp/packets/server/PacketOpenGui.java
  16. +0 −1 src/main/java/org/avp/packets/server/PacketPlasmaDischarge.java
  17. +0 −1 src/main/java/org/avp/packets/server/PacketReadFromDataDevice.java
  18. +0 −1 src/main/java/org/avp/packets/server/PacketReloadFirearm.java
  19. +0 −1 src/main/java/org/avp/packets/server/PacketSpawnNuke.java
  20. +0 −1 src/main/java/org/avp/packets/server/PacketWriteToDataDevice.java
  21. +0 −1 src/main/java/org/avp/packets/server/SpecialPlayerServerSync.java
@@ -46,7 +46,6 @@ public void toBytes(ByteBuf buf)
@Override
public OrganismClientSync onMessage(OrganismClientSync packet, MessageContext ctx)
{
// System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -43,7 +43,6 @@ public PacketAmmoUpdate onMessage(PacketAmmoUpdate packet, MessageContext ctx)
@Override
public void run()
{
System.out.println("Sent packet " + this.getClass().getName());
((ItemFirearm) Game.minecraft().player.inventory.getCurrentItem().getItem()).setAmmoCount(packet.ammo);
}
});
@@ -53,7 +53,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketOpenable onMessage(PacketOpenable packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -44,7 +44,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketOvamorphContainsFacehugger onMessage(PacketOvamorphContainsFacehugger packet, MessageContext ctx)
{
// System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -39,7 +39,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketPlayerModeUpdate onMessage(PacketPlayerModeUpdate packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -53,7 +53,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketRotateRotatable onMessage(PacketRotateRotatable packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -53,7 +53,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketSyncRF onMessage(PacketSyncRF packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -56,7 +56,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketTurretSync onMessage(PacketTurretSync packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -46,7 +46,6 @@ public void toBytes(ByteBuf buf)
@Override
public SpecialPlayerClientSync onMessage(SpecialPlayerClientSync packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -48,7 +48,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketAddTurretPlayerTarget onMessage(PacketAddTurretPlayerTarget packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -44,7 +44,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketAssemble onMessage(PacketAssemble packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -29,7 +29,6 @@ public void fromBytes(ByteBuf buffer)
@Override
public PacketFireAPC onMessage(PacketFireAPC packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -32,7 +32,6 @@ public void fromBytes(ByteBuf buffer)
@Override
public PacketLaunchGrenade onMessage(PacketLaunchGrenade packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -38,7 +38,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketOpenContainer onMessage(PacketOpenContainer packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -43,7 +43,6 @@ public void toBytes(ByteBuf buf)
@SideOnly(Side.CLIENT)
public PacketOpenGui onMessage(PacketOpenGui packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
Game.minecraft().addScheduledTask(new Runnable()
{
@Override
@@ -41,7 +41,6 @@ public void fromBytes(ByteBuf buffer)
@Override
public PacketPlasmaDischarge onMessage(PacketPlasmaDischarge packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -50,7 +50,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketReadFromDataDevice onMessage(PacketReadFromDataDevice packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -30,7 +30,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketReloadFirearm onMessage(PacketReloadFirearm message, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -34,7 +34,6 @@ public void fromBytes(ByteBuf buffer)
@Override
public PacketSpawnNuke onMessage(PacketSpawnNuke packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -49,7 +49,6 @@ public void toBytes(ByteBuf buf)
@Override
public PacketWriteToDataDevice onMessage(PacketWriteToDataDevice packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override
@@ -45,7 +45,6 @@ public void toBytes(ByteBuf buf)
@Override
public SpecialPlayerServerSync onMessage(SpecialPlayerServerSync packet, MessageContext ctx)
{
System.out.println("Sent packet " + this.getClass().getName());
ctx.getServerHandler().player.getServerWorld().addScheduledTask(new Runnable()
{
@Override

0 comments on commit 530bd8b

Please sign in to comment.
You can’t perform that action at this time.