Fixed Diversion Transporter not updating surroundings when changing diverter mode

This commit is contained in:
Aidan C. Brady 2015-03-28 21:12:34 -04:00
parent 0b1b78d5a6
commit f10a352230
2 changed files with 3 additions and 0 deletions

View file

@ -128,6 +128,7 @@ public class PartDiversionTransporter extends PartLogisticalTransporter
refreshConnections();
tile().notifyPartChange(this);
notifyTileChange();
player.addChatMessage(new ChatComponentText(EnumColor.DARK_BLUE + "[Mekanism]" + EnumColor.GREY + " " + MekanismUtils.localize("tooltip.configurator.toggleDiverter") + ": " + EnumColor.RED + description));
Mekanism.packetHandler.sendToReceivers(new TileEntityMessage(Coord4D.get(tile()), getNetworkedData(new ArrayList())), new Range4D(Coord4D.get(tile())));

View file

@ -656,7 +656,9 @@ public class PartLogisticalTransporter extends PartTransmitter<InventoryNetwork>
public boolean onRightClick(EntityPlayer player, int side)
{
super.onRightClick(player, side);
player.addChatMessage(new ChatComponentText(EnumColor.DARK_BLUE + "[Mekanism]" + EnumColor.GREY + " " + MekanismUtils.localize("tooltip.configurator.viewColor") + ": " + (color != null ? color.getName() : "None")));
return true;
}