blob: df6f9c16c3a04d9f193ad52c589d1311d62f72c0 [file] [log] [blame] [raw]
package li.cil.oc.client
import net.minecraft.tileentity.TileEntity
import li.cil.oc.common.PacketBuilder
import li.cil.oc.common.PacketType
object PacketSender {
def sendScreenBufferRequest(t: TileEntity) = {
val pb = new PacketBuilder(PacketType.ScreenBufferRequest)
pb.writeTileEntity(t)
pb.sendToServer()
}
}