Clean up print statement spam
This commit is contained in:
parent
dc82c9ace6
commit
fb1e41f4ba
5 changed files with 2 additions and 13 deletions
common/buildcraft
|
@ -325,14 +325,11 @@ public class TileAssemblyAdvancedWorkbench extends TileEntity implements IInvent
|
|||
}
|
||||
}
|
||||
for (ItemStack output : outputs) {
|
||||
System.out.printf("Output stack is %s\n",output);
|
||||
boolean putToPipe = Utils.addToRandomPipeEntry(this, ForgeDirection.UP, output);
|
||||
if (!putToPipe)
|
||||
{
|
||||
System.out.println(output);
|
||||
for (int i = 0; i < storageSlots.length; i++)
|
||||
{
|
||||
System.out.printf("%d: %s %s\n", i,output, storageSlots[i]);
|
||||
if (output.stackSize <= 0) {
|
||||
break;
|
||||
}
|
||||
|
@ -345,11 +342,8 @@ public class TileAssemblyAdvancedWorkbench extends TileEntity implements IInvent
|
|||
output.stackSize = 0;
|
||||
}
|
||||
} else if (storageSlots[i] == null) {
|
||||
System.out.println(output);
|
||||
storageSlots[i] = output.copy();
|
||||
System.out.println(storageSlots[i]+":"+output);
|
||||
output.stackSize = 0;
|
||||
System.out.println(storageSlots[i]+":"+output);
|
||||
}
|
||||
}
|
||||
if (output.stackSize > 0) {
|
||||
|
|
|
@ -16,6 +16,7 @@ import java.util.TreeMap;
|
|||
import cpw.mods.fml.common.Side;
|
||||
import cpw.mods.fml.common.asm.SideOnly;
|
||||
|
||||
import buildcraft.BuildCraftCore;
|
||||
import buildcraft.BuildCraftTransport;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import buildcraft.api.tools.IToolWrench;
|
||||
|
@ -581,7 +582,7 @@ public class BlockGenericPipe extends BlockContainer {
|
|||
if (pipe != null) {
|
||||
return pipe.getConstructor(int.class).newInstance(key);
|
||||
} else {
|
||||
System.err.printf("[BuildCraft] Detected pipe with unknown key (" + key + "). Did you remove a buildcraft addon?\n");
|
||||
BuildCraftCore.bcLog.warning("Detected pipe with unknown key (" + key + "). Did you remove a buildcraft addon?");
|
||||
}
|
||||
|
||||
} catch (Throwable t) {
|
||||
|
|
|
@ -61,8 +61,6 @@ public class ContainerGateInterface extends BuildCraftContainer {
|
|||
|
||||
// Do not attempt to create a list of potential actions and triggers on
|
||||
// the client.
|
||||
System.out.printf("Gate gui %s\n", this);
|
||||
|
||||
if (!CoreProxy.proxy.isRenderWorld(pipe.worldObj)) {
|
||||
_potentialActions.addAll(pipe.getActions());
|
||||
_potentialTriggers.addAll(ActionManager.getPipeTriggers(pipe));
|
||||
|
@ -90,7 +88,6 @@ public class ContainerGateInterface extends BuildCraftContainer {
|
|||
if (!_potentialActions.contains(a))
|
||||
_potentialActions.add(a);
|
||||
}
|
||||
System.out.printf("Action list %s %s\n", _potentialActions, _potentialTriggers);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -278,7 +275,6 @@ public class ContainerGateInterface extends BuildCraftContainer {
|
|||
|
||||
PacketUpdate packet = new PacketUpdate(PacketIds.GATE_ACTIONS, pipe.xCoord, pipe.yCoord, pipe.zCoord, payload);
|
||||
|
||||
System.out.printf("Packet to player %s\n", packet);
|
||||
// Send to player
|
||||
CoreProxy.proxy.sendToPlayer(player, packet);
|
||||
}
|
||||
|
|
|
@ -296,7 +296,6 @@ public class GuiGateInterface extends GuiAdvancedInterface {
|
|||
|
||||
@Override
|
||||
protected void mouseClicked(int i, int j, int k) {
|
||||
System.out.printf("Mouse click %d %d %d\n", i,j,k);
|
||||
super.mouseClicked(i, j, k);
|
||||
|
||||
int cornerX = (width - xSize) / 2;
|
||||
|
|
|
@ -274,7 +274,6 @@ public class PacketHandlerTransport implements IPacketHandler {
|
|||
* @param packet
|
||||
*/
|
||||
private void onGateInitRequest(EntityPlayer playerEntity, PacketCoordinates packet) {
|
||||
System.out.printf("gate init %s\n",playerEntity.openContainer);
|
||||
if (!(playerEntity.openContainer instanceof ContainerGateInterface))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue