Fixed a minor error in video channel synchronization
This commit is contained in:
parent
6a1f4fd2f5
commit
9fae5ce644
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue