From 5fc46786082c8d6d59e5e93fe83d26b1205d7b7b Mon Sep 17 00:00:00 2001 From: Astoria Date: Mon, 10 Apr 2023 13:15:50 -0500 Subject: [PATCH] Remove printlns and fix a lighting bug on signs --- .../brokenmoon/afloydwiremod/mixin/MixinNetServerHandler.java | 1 - .../net/brokenmoon/afloydwiremod/packet/WiremodWiringPacket.java | 1 - src/main/java/net/brokenmoon/afloydwiremod/ter/TERWire.java | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/net/brokenmoon/afloydwiremod/mixin/MixinNetServerHandler.java b/src/main/java/net/brokenmoon/afloydwiremod/mixin/MixinNetServerHandler.java index 5318edf..f4593b2 100644 --- a/src/main/java/net/brokenmoon/afloydwiremod/mixin/MixinNetServerHandler.java +++ b/src/main/java/net/brokenmoon/afloydwiremod/mixin/MixinNetServerHandler.java @@ -57,7 +57,6 @@ public class MixinNetServerHandler implements INetHandler { break; case 1: AbstractWireTileEntity otherEntity = (AbstractWireTileEntity)this.mcServer.getWorldManager(this.playerEntity.dimension).getBlockTileEntity(packet.x1, packet.y1, packet.z1); - System.out.println(packet.slot1 + " " + packet.slot2); otherEntity.inputs[packet.slot2].wire = new WireConnection(packet.x2, packet.y2, packet.z2, packet.slot2, packet.slot1); otherEntity.update(); otherEntity.updateIO(); diff --git a/src/main/java/net/brokenmoon/afloydwiremod/packet/WiremodWiringPacket.java b/src/main/java/net/brokenmoon/afloydwiremod/packet/WiremodWiringPacket.java index df0fd66..e63e52b 100644 --- a/src/main/java/net/brokenmoon/afloydwiremod/packet/WiremodWiringPacket.java +++ b/src/main/java/net/brokenmoon/afloydwiremod/packet/WiremodWiringPacket.java @@ -135,7 +135,6 @@ public class WiremodWiringPacket extends Packet { @Override public void processPacket(NetHandler netHandler) { - System.out.println(this.slot1 + " " + this.slot2); ((INetHandler)netHandler).wiremodHandleWireChips(this); } diff --git a/src/main/java/net/brokenmoon/afloydwiremod/ter/TERWire.java b/src/main/java/net/brokenmoon/afloydwiremod/ter/TERWire.java index 4835c49..a558f9f 100644 --- a/src/main/java/net/brokenmoon/afloydwiremod/ter/TERWire.java +++ b/src/main/java/net/brokenmoon/afloydwiremod/ter/TERWire.java @@ -252,6 +252,7 @@ public class TERWire extends TileEntitySpecialRenderer { GL11.glEnd(); GL11.glDisable(GL11.GL_BLEND); GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glEnable(GL11.GL_LIGHTING); GL11.glDepthMask(true); GL11.glPopMatrix(); }