Remove printlns and fix a lighting bug on signs

main
Astoria 1 year ago
parent f24c91702a
commit 5fc4678608

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

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

@ -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();
}

Loading…
Cancel
Save