Fixed a minor error in video channel synchronization

This commit is contained in:
LemADEC 2016-05-28 14:32:56 -04:00
parent 6a1f4fd2f5
commit 9fae5ce644
2 changed files with 4 additions and 4 deletions

View file

@ -79,7 +79,7 @@ public class TileEntityCamera extends TileEntityAbstractInterfaced implements IV
}
}
public String getVideoChannelStatus() {
private String getVideoChannelStatus() {
if (videoChannel < 0) {
return StatCollector.translateToLocalFormatted("warpdrive.videoChannel.statusLine.invalid",
videoChannel );
@ -148,7 +148,7 @@ public class TileEntityCamera extends TileEntityAbstractInterfaced implements IV
public Packet getDescriptionPacket() {
NBTTagCompound tagCompound = new NBTTagCompound();
writeToNBT(tagCompound);
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, tagCompound);
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 10, tagCompound);
}
@Override

View file

@ -63,7 +63,7 @@ public class TileEntityMonitor extends TileEntityAbstractInterfaced implements I
}
}
public String getVideoChannelStatus() {
private String getVideoChannelStatus() {
if (videoChannel < 0) {
return StatCollector.translateToLocalFormatted("warpdrive.videoChannel.statusLine.invalid",
videoChannel );
@ -108,7 +108,7 @@ public class TileEntityMonitor extends TileEntityAbstractInterfaced implements I
public Packet getDescriptionPacket() {
NBTTagCompound tagCompound = new NBTTagCompound();
writeToNBT(tagCompound);
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, tagCompound);
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 10, tagCompound);
}
@Override