Skip to content

Commit

Permalink
Fix log spam with DImensional Transceiver (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune authored Jun 22, 2022
1 parent 1eeddad commit f8e96ea
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ private static void doStore(ListMultimap<ChannelType, Channel> channels) {
return;
}
}
Log.info("ServerChannelRegister: Dimensional Transceiver data saved to " + dataFile.getAbsolutePath());
}

private static boolean createFolderAndWriteFile(ListMultimap<ChannelType, Channel> channels, File dataFile) {
Expand Down Expand Up @@ -305,7 +304,7 @@ public int fill(TileTransceiver from, Set<Channel> list, FluidStack resource, bo
return 0;
}

//Item
//Item

public void sendItem(TileTransceiver from, Set<Channel> channels, int slot, ItemStack contents) {
if(!from.hasPower()) {
Expand All @@ -332,7 +331,7 @@ private ItemStack sendItem(TileTransceiver from, int slot, ItemStack contents, T
if(!to.getReceiveItemFilter().doesItemPassFilter(null, contents)) {
return contents;
}
//try merging into existing stacks
//try merging into existing stacks

boolean sendComplete = false; // Only allow 1 stack per item type
for (int i = sd.minOutputSlot; i <= sd.maxOutputSlot && !sendComplete; i++) {
Expand Down

0 comments on commit f8e96ea

Please sign in to comment.